Rotation faster on lower fps,rotation sensitifity
Hi there I have made a rotation controller for my object.
But the more FPS you have the slower it rotates. Which is very anoying.
This is the rotate code:
float pointer_x = Input.GetAxis("Mouse X");
float _sensitivity = 300;
transform.Rotate(0, (-pointer_x * _sensitivity * Time.deltaTime), 0, Space.World);
Answer by Guy_Yome · Mar 16, 2018 at 11:11 PM
Well actually you have Time.deltaTime which covers the framerate drop issue for games. You may not notice it, but it will rotate the same way it should have rotated without the drop. I think it's a "how you feel the game" issue. If this is still not what you want, try removing Time.deltaTime just to see.
Well it should be frame rate independent. but somehow it isn't the more fps the slower it rotates the less fps the faster it rotates.
Your answer
Follow this Question
Related Questions
Rotation Of Transform Does Not Result In Correct Value 0 Answers
rotate object2d the direction it is moving? 0 Answers
Rotation snapping to 180 degrees with transform.rotation 1 Answer
Problem retrieving transform.position after parent rotation 0 Answers
Deformation of child object when rotating around a rotatable parent object 0 Answers