Original Post
Me and some friends of mine are gooing to make a 3D-game. We have the basics done and now it''s time to start working on the maps. Since this is the first thing any of us do in 3D we are going to start really simple. Right now the map consists of some cubes. What I would like to know is how to detect collisions on thoose cubes. Sure it''s extremly simple to check if a point is inside the cube, but I need to know how far the camera can travel along it''s direction before it hits something. The way I''m doing it now he camera sort of stix to the surface of the cube it hits. In order to mover around properly you should sort of glide along the wall. What I have to work with is the cameras position, it''s direction and all the cubes posistion and their corners positions. If anyone would like to help me with this or point me to a good site where it''s explained in a very simple manner I would be grateful.
Thanks