First Person Camera using Cinemachine and old Input Manager

Hi Everyone!

I am making a first person driving game and using a Cinemachine camera which looks from the driver seat of the player’s car in game.

I want to know what code to write so that I can use the Mouse to look around (like in first person driving games for example Euro Truck Simulator 2). Most of the tutorials on the Internet use the new Input System but I am using Input Manager.

I would really appreciate if you can tell me what I should do. Thanks in advance :smile:

9276279--1299246--upload_2023-9-6_12-17-35.png

The simplest way is to put a CinemachineVirtualCamera object as a child of the car, in the place where the driver’s head would be. Set it up with Body=DoNothing and Aim=POV. Inputs are set up by default to be legacy input system, with the mouse moving the camera. Of course you can change that if you want.