View Full Version : make objects not got through walls
i990088
12-07-2007, 05:59 PM
im making a zombie game in 1st person view, so you are the camera, and i was wondering if there is a way to make it so u cant back up through walls
DrJim
12-08-2007, 11:00 AM
Either moving the camera with the arrow keys will keep it from going through walls and controlling with the mouse will go through walls or visa versa. Don't remember which, but try and see.
There are also a couple of forum postings that give more details.
DickBaldwin
12-09-2007, 08:23 AM
Either moving the camera with the arrow keys will keep it from going through walls and controlling with the mouse will go through walls or visa versa. Don't remember which, but try and see.
There are also a couple of forum postings that give more details.
Be careful, however, because the camera will go through infinitely thin cracks in the walls when it won't go through the wall proper.
Dick Baldwin
Free Alice tutorials: http://www.dickbaldwin.com/tocalice.htm
Free programming tutorials: http://www.dickbaldwin.com/toc.htm