Smooth POV camera rotation using the new input system

Hello

While trying to make a first-person controller using the New Input System and Cinemachine, I ran into a lot of problems. The biggest one is the lack of documentation.

In the end, I found an unfinished new Standard Character Controller, in which I found an example of what I needed

However, the Cinemachine delegate was configured there:

CinemachineCore.GetInputAxis + = LookInputOverride;

what caused certain problems…

I wanted to get the First Person Controller to work using the CinemachineInputProvider. Changing the code a little, I ran into the problem that the camera does not work smoothly. How can I fix this?

Cinemachine 2.7.2, InputSystem 1.0.2

(If you change the update method in CinemachineBrain, it will work smoother)

6931222--813721--2.jpg

6931222--813718--1.jpg

If the camera is tracking an object that’s moving, the camera needs to be updated on the same clock as the moving target, otherwise there can be stutter.

So the question boils down to: how are you animating the target that the vcam is tracking? LateUpdate or FixedUpdate? If it’s physics-based, does it have Interpolation activated? The answers to these questions will inform you about which is the best setting in CM Brain.

Do you get the same stutter when you switch to using the legacy input system?