Welcome to the Second Life Forums Archive

These forums are CLOSED. Please visit the new forums HERE

Rotating child prim relative to the root?

Viktor Zagoskin
Registered User
Join date: 16 Oct 2006
Posts: 3
10-24-2006 15:14
Hi,

Ive been looking all over for the answer (or even a confirming "cant be done";) but had no luck, so maybe someone here can help me...

Im building an object, multi prim, linked. I want the whole thing to rotate slowly, I know this can be done many ways including using llTargetOmega, but two of the prims I want to rotate relative to the root while it is rotating, think like a spotlight - the light fixture and beam moving up and down while the base spins the whole thing around...

If I create just the light fixture and the beam prims, and put any kind of rotation on the light fixture (as root) It works fine. Adding the base (and making it the root prim), only the light fixture moves, the beam stays put. Putting any movement on that base only makes an entire mess (the light fixture doesnt rotate relative to the base, and the beam doesnt move at all)

Can anyone point me in the right direction or do I need a PhD in uberMath?

Thanks,
Viktor
Escort DeFarge
Together
Join date: 18 Nov 2004
Posts: 681
10-25-2006 01:39
llSetLocalRot()
_____________________
http://slurl.com/secondlife/Together
Viktor Zagoskin
Registered User
Join date: 16 Oct 2006
Posts: 3
10-25-2006 07:34
Ah geez, I dont know how I missed that. Although the 0.2 sec delay makes smooth rotation impossible, this looks like it will do exactly what I need otherwise...

Thanks!!!