12.11.2012, 14:52
(
Last edited by Mauzen; 12/11/2012 at 11:09 PM.
)
Theres no universal method. If the walls are custom placed objects, you need to check the collision for each of them. A good and quite efficient way would be using planes. I once wrote about how to realize collision detection with planes, but dont feel like searching my own old post.
Edit: Here it is: http://forum.sa-mp.com/showpost.php?...5&postcount=18
Edit: Here it is: http://forum.sa-mp.com/showpost.php?...5&postcount=18