Join us in Outworldz at www.outworldz.com:9000 or follow us:

Search dozens of selected web sites for OpenSim and LSL script

New! Script Meta-Search will search thousands of scripts here and at other sites for LSL or Opensim scripts.
Loading

Want to add a script or a project? Upload it and a half million people will see it and your name here this year.

Home   Show All
Category: Contributor: Creator
Prim rotate_prim  

rotate_prim

rotate prim.lsl

Category: Prim
By : Anonymous
Created: 2010-01-10 Edited: 2010-01-10
Worlds: Second Life

the Zip file

Download all files for rotate_prim
Contents are in zip format, with .LSL (text) source code and LSLEdit (text + Solution) formats.
Get file # 1. rotate_prim_1.lsl
1
2 rotation rot_xyzq;
3
4 default
5 {
7 {
8 vector xyz_angles = <0,1.0,0>; // This is to define a 1 degree change
9 vector angles_in_radians = xyz_angles*DEG_TO_RAD; // Change to Radians
10 rot_xyzq = llEuler2Rot(angles_in_radians); // Change to a Rotation
11 }
12
14 {
15 llSetRot(llGetRot()*rot_xyzq); //Do the Rotation...
16
17 }
18 }
19 // END //

Back to the Best Free Tools in Second Life and OpenSim.