Is there such an animal? i can get the pos of a prim of a linked set but how do i than positon it.
Thanks for the help
These forums are CLOSED. Please visit the new forums HERE
set local pos |
|
Alberto McGettigan
Registered User
Join date: 14 Jun 2005
Posts: 57
|
07-12-2005 10:17
Is there such an animal? i can get the pos of a prim of a linked set but how do i than positon it.
Thanks for the help |
Cid Jacobs
Theoretical Meteorologist
![]() Join date: 18 Jul 2004
Posts: 4,304
|
07-12-2005 10:20
Hi there, llSetPos works locally as well, just place it in a non-root prim and you should be good to go. It sets the position based on the offset to the root prim. For more info check here llSetPos
_____________________
|
Alberto McGettigan
Registered User
Join date: 14 Jun 2005
Posts: 57
|
but but hehe
07-12-2005 10:23
im using a script on the whole object and need it to move several of the link prims at a single command is it llsetlocalpos(getlocalpos such and such) I'm not sure exactly how it works or the concept
|
Cid Jacobs
Theoretical Meteorologist
![]() Join date: 18 Jul 2004
Posts: 4,304
|
07-12-2005 10:25
Not sure I'm understanding what your asking. If you can meet me in world atm, maybe I can help you there?
_____________________
|
Alberto McGettigan
Registered User
Join date: 14 Jun 2005
Posts: 57
|
sorry
07-12-2005 10:27
im just heading off to work. Thank you tho ill post at another time soon and explain more.
|
Christopher Omega
Oxymoron
Join date: 28 Mar 2003
Posts: 1,828
|
07-12-2005 10:57
im using a script on the whole object and need it to move several of the link prims at a single command is it llsetlocalpos(getlocalpos such and such) I'm not sure exactly how it works or the concept Im afraid there's no way (currently) to modify the position of all prims in a link set from one script. You're going to have to have a script in each prim of the link set. To move a prim, you need to send a link message to the script in the prim. Here's an example: CODE
Now, to make a particular prim set its position, call this function: CODE
Hope this helps! ==Chris _____________________
October 3rd is the Day Against DRM (Digital Restrictions Management), learn more at http://www.defectivebydesign.org/what_is_drm
|