Lumychan Posted March 1, 2012 Share Posted March 1, 2012 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! Link to comment Share on other sites More sharing options...
Thinkerer Melville Posted March 1, 2012 Share Posted March 1, 2012 See this wiki article llTargetOmega http://lslwiki.net/lslwiki/wakka.php?wakka=llTargetOmega My recollection is that you just make the spin rate negative, but I have not done it in a long time. TKR 1 Link to comment Share on other sites More sharing options...
Kaluura Boa Posted March 1, 2012 Share Posted March 1, 2012 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: Link to comment Share on other sites More sharing options...
Lumychan Posted March 1, 2012 Author Share Posted March 1, 2012 Yes! It works perfectly! Thank you Boa! Link to comment Share on other sites More sharing options...
Recommended Posts
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