Alice Community  

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

Thread Tools Display Modes
How to move an object without landing on top of the object?
Junior Member
Status: Offline
Posts: 2
Join Date: Jul 2011
Default How to move an object without landing on top of the object? - 07-08-2011, 11:13 PM

I am having trouble figuring out how to move an object to a specific target without it landing on the target...
Reply With Quote
Senior Member
arty-fishL's Avatar
Status: Offline
Posts: 1,878
Join Date: Mar 2008
Location: In the corner of your eye
Default 07-09-2011, 05:11 AM

I would use proximity or collision detection to find out how close it is, then move it away.


I have mostly moved on from Alice, but may still respond to messages if important [-]
Reply With Quote
Senior Member
TauTrumpsPi's Avatar
Status: Offline
Posts: 399
Join Date: Mar 2011
Location: The diamond layer
Default 07-09-2011, 11:18 AM

Or something like this:
(object) move toward (other object) distance = (distance to other object - objects width) - other objects width

I have plenty of common sense. I just choose to ignore it.
-Calvin and Hobbes

Wondering about my Avatar?

Wondering about my username?
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 ©2018, Carnegie Mellon University
Alice 2.x 1999-2012, Alice 3.x 2008-2012, Carnegie Mellon University. All rights reserved.