void OnRotate(Vector3 rotation) { if (IsPlaying == true) { //Debug.Log("Rotate: " + rotation); motor.Turn(rotation.y * turnSpeed); motor.Look(rotation.x * turnSpeed); } }
void OnRotate(Vector3 rotation) { //camera looks vertical, plauer rotates left/right _motor.Turn(rotation.y * _turnSpeed); _motor.Look(rotation.x * _turnSpeed); }
private void OnRotate(Vector3 rotation) { _motor.Look(rotation.x * _turnSpeed); _motor.Turn(rotation.y * _turnSpeed); }
private void OnRotate(Vector3 rotation) { motor.Turn(rotation.y * currentTurnSpeed); motor.Look(rotation.x * currentTurnSpeed); }
void OnRotate(Vector3 rotation) { //Debug.Log("Rotate: " + rotation); _motor.Turn(rotation.y * _turnSpeed); _motor.Look(rotation.x * _turnSpeed); }
void OnRotate(Vector3 rotation) { // Debug.Log("Turn: " + rotation); motor.Turn(rotation.y * turnSpeed); motor.Look(rotation.x * turnSpeed); }
void OnRotate(Vector3 rotation) { //change camera/turn from Motor, parameters in PlayerController _motor.Turn(rotation.y * _turnSpeed); _motor.Look(rotation.x * _turnSpeed); }