Alice Community

Alice Community (
-   How do I...? (
-   -   How To Decide If Collison Or Not? (

bking0 09-22-2008 10:51 AM

How To Decide If Collison Or Not?
1 Attachment(s)
Im trying to make a game and i dont know how to make collison in alice work?
The game is about done, all i need is to fiqure out how to make collision work!
The game is where you can get in a vehicle and drive around.


controls are-
w=move up
s=move down
a=move left
d=move right
e=get in/out of vehcile

/you must be at least five meter by the vehcile to get in it!

Gillette Fusion 09-27-2008 05:48 PM

You have the right idea, you have to be at least (what ever meters) from (what ever object) for something to happen. I assume by looking at the program that you want to stop your guy from walking in the tank.

You need to have at least two collision codes, one for entering the tank (you got that one down), and one to push you away from tank if you get two close.

As you can see from my craptastic illustration:


All times are GMT -5. The time now is 04:42 AM.

Copyright ©2021, Carnegie Mellon University
Alice 2.x 1999-2012, Alice 3.x 2008-2012, Carnegie Mellon University. All rights reserved.