Jump to content
Sign in to follow this  
Lumychan

Rotation counter-clock wise

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

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

Recommended Posts

Hello everyone.

I know little about scripting, so I need help solving something. I'm using a very simple llTargetOmega script to make an object rotate around tiself horizontally. But it only spins counter-clock wise. How cn I change it to spin clock-wise?

 

  llTargetOmega(<0,0,1>,PI,1.0);

Thank you very much!

Share this post


Link to post
Share on other sites

You can invert the axis of rotation:

llTargetOmega(<0, 0, -1>, PI, 1.0);

 Or negate the spinrate:

llTargetOmega(<0, 0, 1>, -PI, 1.0);

 Buth not both at the same time! :smileywink:

 

Share this post


Link to post
Share on other sites
You are about to reply to a thread that has been inactive for 3055 days.

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

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

Sign in to follow this  

×
×
  • Create New...