Answer the question
In order to leave comments, you need to log in
Camera in FixedUpdate, how to ignore fps?
Hello.
I need a camera in FixedUpdate, because. then all physics works well and there is no "twitching".
The problem is that then the camera rotation speed changes depending on the fps, that is, at 60 it is slow, at 30 it is fast.
_transform.eulerAngles, rot.x, rot.y, rotateSmooth * Time.deltaTime);
_transform.eulerAngles, rot.x, rot.y, rotateSmooth * Time.fixedDeltaTime);
_transform.eulerAngles, rot.x, rot.y, rotateSmooth * Time.unscaledDeltaTime);
Answer the question
In order to leave comments, you need to log in
Issue resolved.
The bottom line was that it was necessary to have a joystick (mobile) and also transfer the input manager to FixedUpdate. After that, the camera worked as it should.
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question