Sets the rotation
of a child prim
relative to the root
Note: This function delays
for 0.2 seconds.
to get the local
To set the rotation of a child prim around its local axis, use llGetLocalRot
. This way, the entire object can be rotated any direction and the child prim will still rotate properly.
Compare with llSetRot
, which sets the rotation of the entire linkset
Q: Does llSetLocalRot work on attachments?
A: As of SL 1.7 this is possible.
Q: How do I perform this with llSetPrimitiveParams on a child of an attached prim?
A: You need to know the local rotation of the root prim of the the attachment and divide your target rotation by the root's local rotation.
This article wasn't helpful for you? Maybe the related article at the LSL Portal
is able to bring enlightenment.
| Child Rotation