Alice Community  

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

Reply
 
Thread Tools Display Modes
How to move an object to the nearest object?
Old
jakeonthelake
Junior Member
 
Status: Offline
Posts: 2
Join Date: Jul 2011
Default How to move an object to the nearest object? - 07-08-2011, 10:08 PM

i created a method that moves object to specific targets, i am trying to make the MOVER object to move to the closes TARGET object...
   
Reply With Quote
Hope this helps...
Old
arty-fishL
Senior Member
 
arty-fishL's Avatar
 
Status: Offline
Posts: 1,878
Join Date: Mar 2008
Location: In the corner of your eye
Lightbulb Hope this helps... - 07-09-2011, 04:24 AM

Something like this (attached).
Attached Files
File Type: a2w find nearest object.a2w (402.1 KB, 22 views)


█░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░█
█░░▓░░░░░░░▓░░░░░░░░░░░▓▓░░▓░░░░░░▓░░░▓░░░░█
█░▓░▓░▓▓▓░▓▓▓░▓░▓░░░░░░▓▒▒░░▒░░▓▓░▓▓▓░▓▒░░░█
█░▓▓▓▒▓▒▒▒░▓▒▒▓▓▓▒▓▓▓░▓▓▓░░▓░░░▓▒▒▓▒▓▒▓▒░░░█
█░▓▒▓▒▓▒░░░▓▓░░▒▓▒░▒▒▒░▓▒▒░▓▓░▓▓▒░▓▒▓▒▓▒░░░█
█░▓▒▓▒░▒░░░░▒▒▓▓▓▒░░░░▓▓▒░░░▒▒░▒▒░░▒░▒▓▓▓░░█
█░░▒░▒░░░░░░░░░▒▒▒░░░░░▒▒░░░░░░░░░░░░░░▒▒▒░█
█░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░█

I have mostly moved on from Alice, but may still respond to messages if important [-]
   
Reply With Quote
Old
mdemonion
Member
 
Status: Offline
Posts: 16
Join Date: Dec 2011
Location: Netherlands
Default 12-26-2011, 01:30 PM

Well I don't have any knowledge about it that how the object is moved to the nearest..I really don't have any idea about it..
   
Reply With Quote
Old
waqar
Senior Member
 
Status: Offline
Posts: 51
Join Date: Sep 2011
Location: Pakistan
Default 12-27-2011, 12:20 PM

turn face of ur object to its nearest object then move it to the distance between obj and target object :P
well i think it would be complicated for u if u r an initial player in alice
   
Reply With Quote
Old
waqar
Senior Member
 
Status: Offline
Posts: 51
Join Date: Sep 2011
Location: Pakistan
Wink 12-27-2011, 12:31 PM

As i understood ur problem i made this thing check it out
Attached Files
File Type: a2w find nearest object.a2w (2.24 MB, 5 views)
   
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 ©2019, Carnegie Mellon University
Alice 2.x 1999-2012, Alice 3.x 2008-2012, Carnegie Mellon University. All rights reserved.