Alice Community

Alice Community (http://www.alice.org/community/index.php)
-   Works-In-Progress (http://www.alice.org/community/forumdisplay.php?f=14)
-   -   Bumper Cars (http://www.alice.org/community/showthread.php?t=1763)

kuballer10 09-29-2008 06:48 PM

Bumper Cars
 
1 Attachment(s)
Hi,
I was just wondering if anyone had any ideas on how to keep the cars from
1. hitting each other, and
2. hitting the wall

world is attached below

Bearcat34 10-13-2008 01:03 PM

coOL

x2495iiii 01-05-2010 08:32 AM

Bearcat34, that's spam. If you don't have anything constructive to say when someone asks for help, it's best not to post.

As for the bumper cars, you have to experiment with the "is within x meters of object" function to check to see if the bumper cars are within the bumper car's width of each other, and use the "is at least x meters away from object" function to check to see if they're too far away from the center of the arena.

jediaction 01-06-2010 11:10 AM

You can use variables with is "within" and is "farfrom". just change the numbers as teh distances change too


All times are GMT -5. The time now is 07:37 AM.

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