I will modestly state I'm not a stupid person. I even understand trig. I think I grok the basics of dealing with rotations. But there's one thing I have yet to see a simple solution for.
I have an linked object X. The root rotation in Euler form is <0,0,0> If I want to make it swing back and forth on the Y axis, I convert <0,delta,0> to quant form and multiply it by llGetRot(), then do llSetRot.
Works great as long as nobody rotates the object. But if I want it to continue to swing along the same axis, relative to the unrotated object, how do I get the rotation to apply (I know it becomes a compound rotation of X and Y until I've rotated the linked object through 90 degrees, at which point it becomes a rotation solely in the global X axis.
As a visual aid, think of a grandfather clock with a pendulum. I need to be able to generate the swing of the pendulum regardless of the rotate of the object.
I'm sure it's a simple matrix operation, I just don't know what it is.
Cutter