Alice Community

Alice Community (http://www.alice.org/community/index.php)
-   Questions and Comments (http://www.alice.org/community/forumdisplay.php?f=9)
-   -   Can you track motion and how far something moves in alice? (http://www.alice.org/community/showthread.php?t=10014)

kobebeef415 04-01-2013 10:18 PM

Can you track motion and how far something moves in alice?
 
I've been trying to make a sim like game but can't crack the motion code. This one will help me finish it.

chickentree 04-05-2013 05:04 PM

Hansel and Grettle
 
[QUOTE=kobebeef415;52686]I've been trying to make a sim like game but can't crack the motion code. This one will help me finish it.[/QUOTE]

The easiest way I can think of is to use a dummy object. Drop it at the object's point of view and when you want to know how far you are get the distance from the object to the dummy. To reset move the dummy back to the objects Point of view.


All times are GMT -5. The time now is 10:44 AM.

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