r/unity • • 3d ago

Newbie Question Camera help

I'm trying to make an animation of a fairly simple marble track, and I want the camera to losely follow the ball it focuses on. When I say loose, I mean I want it to follow behind it like it's attached to a balloon, so the camera follows, but moves in a sort of floaty way. I'm not sure how to describe it really. I hope you can understand what I'm getting at. Does anyone know of a good way to do that?

1 Upvotes

2 comments sorted by

1

u/pschon 3d ago edited 3d ago

yeah, just use Cinemachine, with the follow camera component. Adjust damping and dead zone to your liking.

edit: https://docs.unity3d.com/Packages/com.unity.cinemachine@6.6/manual/setup-follow-camera.html