Jump to content

My Rotation Script keeps halting


Pamela Galli
 Share

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

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

Recommended Posts

I have a simple Slow Rotation script I put in my mesh windchime along with an intermittant sound script.  I have used these together in a sculpted windchime with no problem but in my new mesh one the rotation keeps stopping and starting.  Does not seem to be corellated with the sound script.

Anyone know why this change or what to do to make it stop halting?

 

ETA  It seems now to have stopped rotating permanently.  But still chiming away!

 

ETA: I just flew to a different sim and back, and it started again, then stopped, then started etc.

 

This is the script:

 

default
{
state_entry()
{
llTargetOmega(<0,0,1>,0.3,PI);
}

}

 

Link to comment
Share on other sites

llTargetOmega can stall or fail to start if you try to rotate an object too slowly.  "Too slowly" is usually a lot slower than the one you are using, but it can be a matter of competition with other things that your viewer or the servers have to keep track of at the same time.  You can usually jump start a stalled llTargetOmega by setting a timer to force a real rotation change, like

default{    state_entry()    {        llSetTimerEvent(3.0);        llTargetOmega(<0.0,0.0,1.0>,0.3,PI);    }    timer()    {        llSetRot(llGetRot() * llEuler2Rot(<0.0,0.0,PI/16.0>));    }}

 

 

Link to comment
Share on other sites

You are about to reply to a thread that has been inactive for 3624 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
 Share

×
×
  • Create New...