Free tool
Rotation Engine
Generate LSL rotation scripts and see exactly how your prim will turn — clockwise, anti-clockwise, at any angle, with several rotations running at the same time.
Build an LSL rotation script and watch the prim turn before you drop it in-world. Switch on several rotations at once, each with its own axis, direction (clockwise or anti-clockwise) and speed — they are combined into one smooth motion. Anti-clockwise means looking from the + end of the axis back towards the prim (LSL’s positive direction). The coloured faces (+X red, +Y green, +Z blue) show which way the prim is facing.
Preview
Rotations tick the ones you want, they all run together
Custom axis: any direction, e.g. 1, 1, 0. Speed is in degrees per second.
Behaviour
In Step, Swing and Door modes the speeds set the direction and how fast it moves; the angle sets how far. Timed modes move the prim for real, so keep step time at 0.05 s or more.
LSL script
Drop it into the prim you want to turn. For a linked child prim it turns relative to its parent.