Alice Community  

Go Back   Alice Community > Alice 2 > How do I...?

Reply
 
Thread Tools Display Modes
Calculating distance
Old
subzero
Guest
 
Status:
Posts: n/a
Default Calculating distance - 03-13-2009, 08:41 PM

Hello,

I am using alice 2.0 and i would like to know how to calculate the distance of alice to any object and make her say which object she is close to?
Attached Files
File Type: a2c K100.a2c (671.5 KB, 11 views)

Last edited by x2495iiii; 02-01-2012 at 07:30 PM.
   
Reply With Quote
Old
rich0e0rick
Senior Member
 
rich0e0rick's Avatar
 
Status: Offline
Posts: 141
Join Date: Jan 2008
Location: Sturgeon Falls
Default 03-14-2009, 08:11 PM

in the 3rd tab of the world "object" you will find "distance to" methods

im sure you can figure it out with those... think, something like, if this distance to that is less that that distance to the other that, then she says this...

rick


im back!!! FINNALY!!! got windows working on my mac again!!!
   
Reply With Quote
Old
DrJim
Guest
 
Status:
Posts: n/a
Default 03-15-2009, 09:59 AM

Also be sure to remember that distances are measured from object center to object center! The (perfectly correct) answer for something like a wall may not be what you expect - in that case use something like "distance in front of."
   
Reply With Quote
Reply

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.