Cinemachine Camera Blocked By Leaves

Hello,

Are there any Cinemachine settings or extensions for dealing with objects without colliders blocking the view of the player? For instance, the trees I’m using have colliders for the trunks, but not the leaves, so they end up blocking the view of the player. Is there something that would either move the camera or make the leaves transparent if they’re in the way?

Without colliders, or custom shaders that are far beyond the scope of the course? Not really. You can put a big sphere collider around the general area of the foilage.

1 Like

Yeah, the sphere collider is a good solution. I played around with that a bit with some luck. Might also see about spacing out the trees so that they don’t crowd the camera too much. Thank you!

Privacy & Terms