Answer the question
In order to leave comments, you need to log in
How to rotate rigidbody behind 3d cursor at certain speed?
Question about the rotation of rb. The object (player) must rotate behind another object (3d cursor). I calculate the angle that needs to be rotated completely correctly using Vector3.SignedAngle, but it’s a problem with rotations. When the rotation angle is greater than the rotation speed, everything happens fine (angle>rotation speed). Decreasing the fixedtimestep within reasonable limits does not solve the problem at a speed of, for example, 180+deg/sec. already tried and so far this is the best thing that happened for the rotation of physics. Does anyone have any ideas or insights? the goal is to rotate the rb object behind the 3d cursor with a certain angular velocity. Thank you in advance.
Answer the question
In order to leave comments, you need to log in
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question