LlGetRootRotation
De DigiWiki.
default { state_entry() { //Rotate 45 degrees about Y-axis rotation globalRot = llEuler2Rot(<0.0, 45.0, 0.0> * DEG_TO_RAD); llSetLocalRot(globalRot / llGetRootRotation()); } }
default { state_entry() { //Rotate 45 degrees about Y-axis rotation globalRot = llEuler2Rot(<0.0, 45.0, 0.0> * DEG_TO_RAD); llSetLocalRot(globalRot / llGetRootRotation()); } }