Alice Community

Alice Community (http://www.alice.org/community/index.php)
-   How do I...? (http://www.alice.org/community/forumdisplay.php?f=16)
-   -   Need Help (http://www.alice.org/community/showthread.php?t=4464)

shred1894 05-20-2010 08:17 AM

Need Help
 
I am new to alice, and ai am working on a plane thing. I need the ground to be collidable so when my biplane hits it it crashes (heres the catch: it cannot be the propeller colliding, only wings and body).

LadyReyna 05-20-2010 12:59 PM

I believe....
 
the easiest option is to set up an If/Else that returns an explosion or nothing based on the object (plane wings/body) distance above the ground. Use an a>b and a<=b function, drop in planes body distance above ground into a and put the distance you want in b. There are probably more sophisticated ways to do this...but this is how I would do it.


All times are GMT -5. The time now is 12:41 PM.

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