Alice Community  

Go Back   Alice Community > General Discussion > Questions and Comments

Reply
 
Thread Tools Display Modes
Can you track motion and how far something moves in alice?
Old
kobebeef415
Junior Member
 
Status: Offline
Posts: 4
Join Date: Apr 2012
Location: san francisco
Exclamation 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.
   
Reply With Quote
Hansel and Grettle
Old
chickentree
Super Moderator
 
Status: Offline
Posts: 210
Join Date: Dec 2012
Location: Frosno, Ca
Default Hansel and Grettle - 04-05-2013, 05:04 PM

Quote:
Originally Posted by kobebeef415 View Post
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.
   
Reply With Quote
Reply

Tags
code, motion

Thread Tools
Display Modes

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 Jump



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