Thursday, August 21, 2025

rotation scripts

// :CATEGORY:Rotation

// :NAME:Slow_Rotation_Script

// :AUTHOR:Anonymous

// :CREATED:2010-01-10 05:20:56.000

// :EDITED:2013-09-18 15:39:04

// :ID:799

// :NUM:1109

// :REV:1.0

// :WORLD:Second Life

// :DESCRIPTION:

// Slow Rotation Script.lsl

// :CODE:


default

{

    state_entry()

    {

       llTargetOmega(<0,0,1>,0.3,PI);

    }


}

// END //

----------------------------------------------------------------------------------------------------------

"   llTargetOmega(<0,0,1>,0.3,PI);"の3番目の1を-1に変えると逆回転する。

回転速度を変えるには、1を0.1のように数値を変える。

text on an object

 default {     state_entry()     {         // Set the hover text to "Hello World!" in white with no transparency         llSetText...