A simple, full-perm script that allows you to easily rotate any Object/Prim. I get a lot of requests for these!
Perfect for windmills, rotating signs, revolving doors, or anything you want to rotate in any direction at any speed.
1. Drop script into Object. Object will start rotating.
2. Touch to stop/start rotation.
Adjust the user variables inside the script if you need to change the axis of rotation (North/South, East/West, etc), or the rotation speed. Instructions are inside the script.
This script is full-perm (copy + mod + transfer). It is fine to use in objects you sell or give away, but please do not re-sell the script itself. That would be mean.
Questions, I get them:
Q: Can you script it so the Object, when REZZED, is NOT initially rotating until touched?
A: Yes, although if previously rotating when it was last taken to Inventory: when next re-rezzed from Inventory, it may rotate for 1 to 2 seconds before stopping (a SL limitation/feature, because Objects "remember" their last rotation state). For a copy of that version of the script, please drop me a Notecard.
Q: How do I make an Object rotate on a non-linear path (i.e., not just North/South, East/West, or Up/Down)?
A: In the script, use non-zero numbers for TWO (or all 3) of the x,y,z axes. Experiment till you get the path you desire. (For linear path, use zero for 2 of the 3 axes).
- Drop into any Object/Prim
- Toggles rotation on/off when touched
- Edit script variables toadjust spin axis or speed
- Full Perm, no reselling please.
amazing! exactly what I wanted
thank you