05-12-2010, 05:57 PM
Its called collision detection. It depends on what the objects are that you want to stop from colliding into. If they are mostly just people, or things that are not walls, then it is a simple If statement with all of the objects in a list.
If you want you can upload the world and I can see if I can put a collision detection in for you. If there are more than 50 objects though then I don't know if I will do it for you.
Check out my best projects so far and please comment:
Tic-Tac-Toe 2.0 ................... http://www.alice.org/community/showthread.php?t=3548
Alice Paint ........................... http://www.alice.org/community/showthread.php?p=23408
Real-Time Clock .................. http://www.alice.org/community/showthread.php?p=12725
Maze Game ......................... http://www.alice.org/community/showthread.php?t=4301
|