Alice Community
>
Alice 2
>
How do I...?
How to move an object to the nearest object?
User Name
Remember Me?
Password
Thread Tools
Display Modes
How to move an object to the nearest object?
#
1
(permalink)
jakeonthelake
Junior Member
Status:
Offline
Posts: 2
Join Date: Jul 2011
How to move an object to the nearest object? -
07-08-2011, 11: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...
jakeonthelake
View Public Profile
Send a private message to jakeonthelake
Find all posts by jakeonthelake
Hope this helps...
#
2
(permalink)
arty-fishL
Senior Member
Status:
Offline
Posts: 1,878
Join Date: Mar 2008
Location: In the corner of your eye
Hope this helps... -
07-09-2011, 05:24 AM
Something like this (attached).
Attached Files
find nearest object.a2w
(402.1 KB, 22 views)
█░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░█
█░░▓░░░░░░░▓░░░░░░░░░░░▓▓░░▓░░░░░░▓░░░▓░░░░█
█░▓░▓░▓▓▓░▓▓▓░▓░▓░░░░░░▓▒▒░░▒░░▓▓░▓▓▓░▓▒░░░█
█░▓▓▓▒▓▒▒▒░▓▒▒▓▓▓▒▓▓▓░▓▓▓░░▓░░░▓▒▒▓▒▓▒▓▒░░░█
█░▓▒▓▒▓▒░░░▓▓░░▒▓▒░▒▒▒░▓▒▒░▓▓░▓▓▒░▓▒▓▒▓▒░░░█
█░▓▒▓▒░▒░░░░▒▒▓▓▓▒░░░░▓▓▒░░░▒▒░▒▒░░▒░▒▓▓▓░░█
█░░▒░▒░░░░░░░░░▒▒▒░░░░░▒▒░░░░░░░░░░░░░░▒▒▒░█
█░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░█
I have mostly moved on from Alice, but may still respond to messages if important [¬º-°]¬
arty-fishL
View Public Profile
Send a private message to arty-fishL
Visit arty-fishL's homepage!
Find all posts by arty-fishL
#
3
(permalink)
mdemonion
Member
Status:
Offline
Posts: 16
Join Date: Dec 2011
Location: Netherlands
12-26-2011, 02: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..
mdemonion
View Public Profile
Send a private message to mdemonion
Visit mdemonion's homepage!
Find all posts by mdemonion
#
4
(permalink)
waqar
Senior Member
Status:
Offline
Posts: 51
Join Date: Sep 2011
Location: Pakistan
12-27-2011, 01: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
waqar
View Public Profile
Send a private message to waqar
Find all posts by waqar
#
5
(permalink)
waqar
Senior Member
Status:
Offline
Posts: 51
Join Date: Sep 2011
Location: Pakistan
12-27-2011, 01:31 PM
As i understood ur problem i made this thing check it out
Attached Files
find nearest object.a2w
(2.24 MB, 7 views)
waqar
View Public Profile
Send a private message to waqar
Find all posts by waqar
«
Previous Thread
|
Next Thread
»
Thread Tools
Show Printable Version
Email this Page
Display Modes
Linear Mode
Switch to Hybrid Mode
Switch to Threaded Mode
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 Rules
Forum Jump
User Control Panel
Private Messages
Subscriptions
Who's Online
Search Forums
Forums Home
Announcements
Community News and Announcements
Alice 3
How Do I?
Works In Progress
Share Your World
Share Custom Classes
Bugs and Trouble Shooting
Suggestion Box
Alice 2
How do I...?
Works-In-Progress
Share Worlds
Share Objects
Bugs and Troubleshooting
Suggestion Box
Educators
Teaching with Alice
Teaching Using Alice 3
Teaching Using Alice 2
CS Principles and Alice
AP CSA and Intro to Java and Alice
Workshops
Alice Player and VR
General Discussion
Questions and Comments
The Lounge
Copyright ©2023, Carnegie Mellon University
Alice 2.x © 1999-2012, Alice 3.x © 2008-2012, Carnegie Mellon University. All rights reserved.
Contact Us
-
Alice.org
-
Archive
-
Top