CODE
default
{
state_entry()
{
llTargetOmega(<0,0,2.5>, 2.5, 2.5);
}
}
Easy enough as long as I keep it oriented to 0 on all axes. As soon as I tilt it, it of course spins around the global z-axis. I've attempted to correct this using this ...
CODE
default
{
state_entry()
{
vector zAxis=llRot2Left(llGetRot());
llTargetOmega(<0,0,zAxis.z>, 2.5, 2.5);
}
}
... and also tried substituting Rot2Fwd and Rot2Up, which of course shows my utter lack of understanding on the right way to apply this, or if this is even the right way to go about fixing it
Willing to accept any and all public humiliation coming my way on this if someone is able to help me understand the error of my ways here.
Thanks a bunch,
Sue.