Welcome to the Second Life Forums Archive

These forums are CLOSED. Please visit the new forums HERE

Rotation of a child object

Masai Taringa
Registered User
Join date: 23 Oct 2006
Posts: 12
02-24-2007 18:00
Hi,
I need to rotate an object linked to other objects. With command llSetRot() I rotate all the object around the root object. But I had to rotate only one of the linked objects.

Any help ??

Masai
Ged Larsen
thwarted by quaternions
Join date: 4 Dec 2006
Posts: 294
02-24-2007 19:35
From: Masai Taringa
Hi,
I need to rotate an object linked to other objects. With command llSetRot() I rotate all the object around the root object. But I had to rotate only one of the linked objects.

Any help ??

Masai


Try llSetLocalRot, but keeping track of local rotations, root-centric rotations, world-centric rotations... Well, I hate rotations. Always have, always will.
_____________________
- LoopRez, flexi prim skirt generating tool
- LinkRez, a necklace chain generator
Oryx Tempel
Registered User
Join date: 8 Nov 2006
Posts: 7,663
rotation about a parent
03-14-2007 00:11
I use

llTargetOmega(<0,0,1>,PI,1.0);

This will rotate about whichever axis of the parent prim that you specify <x,y,z>; the parent prim will also rotate