Jump to content
You are about to reply to a thread that has been inactive for 4889 days.

Please take a moment to consider if this thread is worth bumping.

Recommended Posts

Posted

I am building a robot sculpture that will include a rotating flywheel above the sculpture's head. The only problem is, when I link the flywheel to the sculpture/robot, the entire object rotates, whereas I only want the flywheel to rotate above the head, like a moving halo. Any suggestions?

Posted

If you make any prim other than the flywheel the root prim, then the flywheel should behave as you want. llTargetOmega makes the individual prim rotate unless it's called from the root prim, in which case it turns the whole object.

Posted

Assuming you want the prim to rotate around its own local z axis (that is, around the blue arrow when the ruler is in local mode, rather than world mode, and you're looking at that particular prim  using "edit linked parts" rather than the whole object), try

 

 llTargetOmega(<0.0,0.0,1.0>*llGetLocalRot(),1.0,1.0);

 

You are about to reply to a thread that has been inactive for 4889 days.

Please take a moment to consider if this thread is worth bumping.

Please sign in to comment

You will be able to leave a comment after signing in



Sign In Now
×
×
  • Create New...