| 
View
 

Script sample 4

Page history last edited by Thom Thibeault 17 years, 1 month ago

ROTATE OBJECT - If you put this script into the contents of an object, it will make the object rotate.

 

//--------------------------------

//The third number in the parameter list controls the speed. If you replace '1' with '2', the object will

//rotate twice as fast.

default

{

    state_entry()

    {

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

    }

 

}

  

Comments (0)

You don't have permission to comment on this page.