CinemachineCollider not working?

I have an object that is racing down the inside of a pipe. I’m trying to use the cinemachine collider to keep the camera inside the pipe, but regardless of what settings it doesn’t always stay inside.

The virtual camera usually stays inside the pipe, but the faster I make the object travel the more likely it will not stay inside.

I suppose I could add a script to the vcam to keep it from exiting the pipe, but I was hoping to get it working without that.

Any thoughts?

The CM collider will try to pull the vcam towards the lookAt target - probably that’s not what you want. You’ll probably get the best results with a custom CM extension to replace the collider. Find the closest point inside the pipe to the vcam’s position, and put the vcam there.

ok thanks. I’ll give that a try.