Welcome to the Second Life Forums Archive

These forums are CLOSED. Please visit the new forums HERE

Attachment movement.

Mod Faulkner
Registered User
Join date: 11 Oct 2005
Posts: 187
08-07-2009 01:36
I have scripted an multi-prim object to change positions on an AV using linked messages to each of the prims to add to or subtract form their llGetLocalPos(). All of the prims move correctly with the exception of the prim that was the root before being attached to the AV. It too gets the message (I have checked) but does not change position. Is a different function needed to move that prim? I have tried both llSetPos() and llSetPrimitiveParams.
Ultralite Soleil
Registered User
Join date: 31 Aug 2006
Posts: 108
08-07-2009 09:26
It should work. Strip the script down so that you call llSetPos in a touch_start of the root prim and see if that works by itself.
Mod Faulkner
Registered User
Join date: 11 Oct 2005
Posts: 187
Touch works
08-08-2009 10:24
Touch test works and I put in a llOwnerSay to see what the position is before and after the llSetPos is called. That show that it is moving correctly but if does not show up on the screen.
However, if I got into edit, it immediately jump to where it should have been. Weird.
Ultralite Soleil
Registered User
Join date: 31 Aug 2006
Posts: 108
08-08-2009 12:33
It could be the SL bug referenced here:
http://forums.secondlife.com/showthread.php?t=329507