Welcome to the Second Life Forums Archive

These forums are CLOSED. Please visit the new forums HERE

Rotating linked objects using all together

Colin Nilsson
I build therefor I am..
Join date: 14 Sep 2005
Posts: 54
09-02-2006 03:23
I am a still very amature scripter and I believe I am not understanding why this is not working for me. I am attempting to make a very simple HUD that will rotate to change it's size with the use of a buton that is linked inside it.. I would like for it to on the two different touch states rotate the linked objects as a whole.. Maybe if I stare at my script long enough I might figure it out but I though I would give a shot at asking for some help.. I tried using llSetPrimitiveParams, but this seems to only effect the single prim (button). have been searching through the WIKI for some ideas.. but I don't think I am full grasping the concept. So far I have it set as a two state button.. as large and small. And I just need to understand how to rotate the linked objects as one.. any help would be greatly appreciated.

Thanks
Sawdust Fossil
Registered User
Join date: 3 Aug 2006
Posts: 28
09-02-2006 06:51
I think you may need to find the Root Prim of your linked object. (The root prim is the one that glows yellow, instead of blue, when the object is being edited. It is also set by which prim you clicked last when linking the prims.) Then try making your changes to the root prim.

I'm not sure if that is enough to accomplish what you want, or if there is more required to get the child prims to follow the root prim.
Colin Nilsson
I build therefor I am..
Join date: 14 Sep 2005
Posts: 54
I got it
09-02-2006 08:47
Ty and that was it.. i feel so stupid I did know that. I was just over thinking the problem and had wimped out for the first time.. was about to come back adn delete my question.. instead i might share my script when I completly finish it for others to use and most to pick apart and criticize and help make it better. I'm in love with scripting now and am sure I will be back here either helpin people or asking for more help. but will make sure I cannot solve it on my own before I go begging.
From: Sawdust Fossil
I think you may need to find the Root Prim of your linked object. (The root prim is the one that glows yellow, instead of blue, when the object is being edited. It is also set by which prim you clicked last when linking the prims.) Then try making your changes to the root prim.

I'm not sure if that is enough to accomplish what you want, or if there is more required to get the child prims to follow the root prim.
_____________________
Colin Nilsson
Sawdust Fossil
Registered User
Join date: 3 Aug 2006
Posts: 28
09-02-2006 15:24
Hey, no problem; glad it helped. One can learn a lot by reading the threads in "Scripting Tips", even without posting in them. So, any question asked here can start a discussion that many people could find useful. ;)