Alice Community  

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

Thread Tools Display Modes
How do I...
Posts: n/a
Default How do I... - 11-12-2009, 03:51 PM

How do I make an object move within a certain distance (the size of another object)?
Reply With Quote
Super Moderator
x2495iiii's Avatar
Status: Offline
Posts: 3,508
Join Date: Dec 2008
Location: Somewhere in the Continental U.S.
Default 11-13-2009, 11:25 PM

Do you mean collision detection? If you do, you need to make an infinity loop which checks to see if the object is within (object's width) of other objects. Both of those functions ("object isWithin number meters of object" and "object's width") are found under the functions tab of the object (left side of the screen).

Reply With Quote

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 ©2022, Carnegie Mellon University
Alice 2.x © 1999-2012, Alice 3.x © 2008-2012, Carnegie Mellon University. All rights reserved.