Cinemachine for a 3D car game help

Hi,

I was hoping somone could show me some settings for using Cinemachine to follow a 3D car from behind, I’ve played with the settings a great deal, but I don’t seem to be getting very far. I’m just using the basic Virtual Camera and don’t require the look around element, just follow the car smoothly without tracking the turning too aggressively - if that makes sense - just your typical, pretty much standard camera you might expect with most racing games.

Is it also possible for the Cinemachine camera to lag behind the car when the car is moving, then when the car slows down, the camera meets back up to it’s original position?

I can’t find any decent settings online either, that’s why I landed here :wink:

Any help would be very appreciated.

Cheers.

Hello,

If you are using the Input system package you could give a look at the starter asset .

If you are on the standalone input system we have a similar sample called free look character.

You could copy the settings on the free-look camera and just change the target to be your car. Those are not specifically for racing games but they are a very good baseline.

From there you could start doing some tweaks. One thing that could work great is adding some look ahead of time on the aim with some damping.

You may want to add a Cinemachine collider if you want to prevent the camera to clip with the environment. That’s the basic setup I could think of. Feel free to give it a try and get back to us if you have a more specific question.

Thanks for your help. I’m using my own controller for this project.

I’ll give your base settings a try in the morning andd see how I get on.

All the best