Alice Community How do you use a position

 How do you use a position
 JungleJim Guest   Status: Posts: n/a How do you use a position - 07-04-2007, 12:29 PM How do you move an object to a position object saved in a variable? You can produce a position object from its x,z,y coordinates using a nifty method in the world object whose name is ,, (yes - TWO commas) - look at the very bottom of the list of world functions. But what good is it? How do you move an object to have that position. There is no "move to position" method. ANSWER: Use a: your-object + move to + world action tile and click on the more... button in that tile and select position and then any value you want. Then drag the variable holding the position you want to use over the offset parameter. Last edited by JungleJim; 07-04-2007 at 02:37 PM.
 DickBaldwin Guest   Status: Posts: n/a 07-04-2007, 02:03 PM Thanks for posting. This very useful information. Dick Baldwin
 Thanks - a real timesaver
DrJim
Guest

Status:
Posts: n/a
Thanks - a real timesaver - 07-04-2007, 05:45 PM

A great discovery!

The following screenshot illustrates the "drag and drop" details.
Attached Images
 Move to Position.JPG (21.4 KB, 130 views)

 Position Array failure
 JungleJim Guest   Status: Posts: n/a Position Array failure - 07-05-2007, 12:20 PM Trying to store a Position as an item in an array OF positions causes the mean queen to appear. See Below. Anyone know why or how to work around it (other than having seperate Number arrays for x,z, and y). world.my first method no parameters -------------------- *posary = Vector(0,0,0),Vector(0,0,0) -------------------- set item 0 to right=1 , up=2 , forward=3 in posary more -------------------- Last edited by JungleJim; 07-13-2007 at 11:20 AM. Reason: forgot attachment

 Thread Tools Display Modes Linear 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