Hi,
How would i go about stopping the camera walking through walls. My walls are at present just rectangles.
Thanks
Paul
Hi,
How would i go about stopping the camera walking through walls. My walls are at present just rectangles.
Thanks
Paul
Look up the topic “collision detection” on google or this board.
You have two ways to achieve this :
I would personaly recommend the second one, i.e. start writing your own engine, in so far as it will help you understand how these 3D engines work.
Good luck !
Some more topics to look up include BSP, octrees, quadtrees, PVS, portals, bounding boxes, AABB, etc, etc. The list is never-ending!
Ok, I came to a branch this morning, Collision detection, OpenGL programming book (Lighting) or level editor. I have discovered that the level editor and the collision detection require more research, so i will get on with lighting. Some of those terms you just mensioned are later in the book i think.