Page 1 of 1

First Person Shooter Camera and Physics

Posted: Tue Nov 13, 2012 9:30 am
by Medo3337
I'm trying to stop the camera from intersecting any mesh, how do I make the camera always inside a mesh and looking at the same point that the mesh is looking at?

I'll be using Bullet Physics for the mesh collision and dynamics.

Any code sample or suggestion will be appreciated.