flying camera

Hi all,

My question has already beeing asked but I can’t find a solution for a noob programmer like me :slight_smile:

I would like to have a flying camera (free camera) colliding with my collider meshes .

I use this script . I would just want my camera not to cross my collider object. If you Have any solutions with source or script example, I’ll enjoy it!

Just add a collider and restrict the rigidbody of your camera. Set rigidbody.freezeRotation and freezePosition to true. Your camera wont bounce and still shouldn’t trough things. Post a code is it still isn’t working.

– David

Is it impossible?! No, I can’t believe it !