#Cinemachine camera seems Framerate dependent

4 messages · Page 1 of 1 (latest)

inland crater
#

Hey guys I am working on an FPS and for the camera I am using a Cinemachine Virtual Camera set to POV. I am working on a Mac and using the touchpad and noticed that the camera's speed and sensitivity depends on the framerate, so the lower the framerate the higher the sensitivity and vice versa. I disabled all the external scripts that influenced the sensitivity and even checked to make sure that the actual speed of the cinemachine component wasn't changing. Is there a way to solve this?

Note: I am using this line of code to test different frame rates

Application.targetFrameRate = testingTargetFramerate;

regal stirrup
#

Well, the easiest way is to just parent a virtual camera to the player and set both aim and transpose behaviours to none. Then you can just rotate the camera yourself, it's like 5 lines of code.

inland crater
#

But then I won't be able to use all the features like damping, camera shake etc. right?

regal stirrup
#

A first person camera doesn't really need damping, for mouse control you want direct movement with no acceleration. And for gamepad control you're better off implementing the acceleration in your input manager code. As for camera shake, it should still work I think.