I have a 3D building, it is all one object, i.e. all one big mesh. I am using the camera as the player in my FPS. I know I have to make a bounding rectangle for the camera to represent a player but I don’t know how to do that and attach it to the camera and then test if it collides with the mesh and not let it pass through.
Share
This example explains about collision detection. In order for you to use this, create the
BoundingSpherearound the cameras position.Riemers Collision Detection