Alice Community Can you track motion and how far something moves in alice?
 User Name Remember Me? Password

 Thread Tools Display Modes
 Can you track motion and how far something moves in alice?
 kobebeef415 Junior Member   Status: Offline Posts: 4 Join Date: Apr 2012 Location: san francisco Can you track motion and how far something moves in alice? - 04-01-2013, 10:18 PM I've been trying to make a sim like game but can't crack the motion code. This one will help me finish it.
 Hansel and Grettle
chickentree
Super Moderator

Status: Offline
Posts: 250
Join Date: Dec 2012
Location: Frosno, Ca
Hansel and Grettle - 04-05-2013, 05:04 PM

Quote:
 Originally Posted by kobebeef415 I've been trying to make a sim like game but can't crack the motion code. This one will help me finish it.
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.

 Tags code, motion

 Thread Tools Display Modes Linear Mode

 Posting Rules You may not post new threads You may not post replies You may not post attachments You may not edit your posts BB code is On Smilies are On [IMG] code is On HTML code is Off Forum Rules
 Forum Jump User Control Panel Private Messages Subscriptions Who's Online Search Forums Forums Home Announcements     Community News and Announcements Alice 3     How Do I?     Works In Progress     Share Your World     Share Custom Classes     Bugs and Trouble Shooting     Suggestion Box Alice 2     How do I...?     Works-In-Progress     Share Worlds     Share Objects     Bugs and Troubleshooting     Suggestion Box Educators     Teaching with Alice     Teaching Using Alice 3     Teaching Using Alice 2     CS Principles and Alice     AP CSA and Intro to Java and Alice     Workshops General Discussion     Questions and Comments     The Lounge

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

 Contact Us - Alice.org - Archive - Top