The rocket flops very slow when it tilts even though I did what Ben did in the code to remove rotation. Can anyone help me with this bug?
private void RespondToRotateInput()
{
rigidBody.angularVelocity = Vector3.zero;
float rotationThisFrame = rcsThrust * Time.deltaTime;
if (Input.GetKey(KeyCode.A))
{
transform.Rotate(Vector3.forward * rotationThisFrame); //z is forward; y is up; x is right
}
else if (Input.GetKey(KeyCode.D))
{
transform.Rotate(-Vector3.forward * rotationThisFrame);
}
}