Hello!Help please who can!I need to make the object (of a supposedly cylindrical shape) to rotate at an angle of 45 degrees to the root about a constant fixed axis. As if it were a globe on a stand. Should I use this script or something like that?
Ok i think i found an answer! This is what needed. Works well so far!
Quote
//Rotates very slowly around a cylinder's local or global Z axis
// .... Good for making a propeller that rotates regardless of initial orientation.
default
{
state_entry()
{
llTargetOmega(llRot2Up(llGetLocalRot()), PI, 1.0);
}
}
Question
MIVIMEX
Hello! Help please who can! I need to make the object (of a supposedly cylindrical shape) to rotate at an angle of 45 degrees to the root about a constant fixed axis. As if it were a globe on a stand.
Should I use this script or something like that?
default { state_entry() { llTargetOmega(<1.0,0.0,0.0>*llGetRot(),0.1,0.01); } }
Many many many many thanks!
_________________________________________________________________
Ok i think i found an answer! This is what needed. Works well so far!
Link to comment
Share on other sites
1 answer 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