- 0
How to set a object to rot using LSL?
You are about to reply to a thread that has been inactive for 3610 days.
Please take a moment to consider if this thread is worth bumping.
Please take a moment to consider if this thread is worth bumping.
Question
KarenMichelle Lane
The full discussion can be found here on the rotation options via LSL scripting:
http://wiki.secondlife.com/wiki/Rotation
http://wiki.secondlife.com/wiki/LSL_Rotation_Synopsis
This script will rotate a single prim quite nicely:
default
{
state_entry()
{
llTargetOmega(<0,0,1>,0.1,PI);
}
}
Function: llTargetOmega( vector axis, float spinrate, float gain );
Rotates the object/prim around axis at a rate of
spinrate * llVecMag(axis)
in radians per second with strength gain.Specification
Physics
Link Sets
Caveats
Link to comment
Share on other sites
10 answers to this question
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