At 10:18 PM -0700 7/31/20, Dahlia Trimble wrote:

 A single prim is essentially a linkset of one prim.

Ok. So this sentence applies :

   « If the script is attached to the root prim, the
    entire object rotates around the region axis. »

I was wrong saying it rotates around the prim's axis. It rotates around the region axis llRot2Up( llGetRot() ) (and not llGetLocalRot, thanks Fred) which come to be the prim's up axis expressed in region coordinates. So

   llTargetOmega( llRot2Up( llGetRot() ), 1, 1)

should make the prim rotate around it's z axis once issued.

This is not the case when the prim's orientation has been altered manually while spinning.

Let's try another way :

Can someone come with a llTargetOmega script making a cylinder rotate around it's z axis, using any event to restore the effect after the prim's orientation has been altered manually while spinning ?



-- Jeff

_______________________________________________
Opensim-users mailing list
Opensim-users@opensimulator.org
http://opensimulator.org/cgi-bin/mailman/listinfo/opensim-users

Reply via email to