Utherverse Wiki
Utherverse Wiki
Advertisement

The Rotate Object script makes it possible for props to animate and rotate on any or all of 3 axes in the form of Roll, Yaw and Pitch (X, Y, Z).

You can combine the rotation of different axes to get diagonals and other rotational directions. Each axis rotates clockwise by default. If you want them to go counter-clockwise enabled the option for this (CWW) on the script.

To have these rotations start automatically when users enter the property, enable Activate on Load in the State tab, it is wise to first set your rotations before activating the Activate on Load State setting.

The Rotation options use values in radians, more info about this here.

Note: In previous times there was two scripts, Rotate CW and Rotate CWW that allowed only rotation on the Y axis, the Rotate Object script replaces these.

Rotation options[]

Rotateobjectaxes
  • Pitch - Rotation via on the X axis. Which has a default of 1.57 rotation velocity.
  • Yaw - Rotation via the Y axis. (This is the axis used in the past with the old rotation scripts, make sure to turn X to 0.00 if you want rotation only on this axis.)
  • Roll - Rotation via the Z axis.

States[]

Other than Activate on Load you can also use other states with this script such as Clickable Trigger, which will allow the you to click the prop and stop its movement, clicking again will resume movement. Furthermore this can be used with the Trigger Linked Script for remote controlling when the rotation starts or stops.

Examples[]

Here is an example of a Ceiling Fan prop using the Rotate Object script with the Yaw (Y) parameter set to 6.

Rotate Object yaw

Next the same prop, manually rotated 90 degrees on the X axis, with the Rotate Object script set to rotate on Roll (Z axis).

Rotate Object pitch

Keep in mind that some props have their point of origin offset from center, and will rotate differently (for example, Sign_01 rotates on a corner).

Once you have the parameters set, enable the Activate on Load state for the rotation to begin, or use a Trigger Linked Script script to activate the script remotely.

Navigation
Home - Account - User Interface - Social Center - Housing - Decorating - Clothing - Support
Decorating

Bots - Chromium - Decorating Guides - Deco Tools - Domain - Prop Editor - Property - Props - Prop States - Ramps - Scripts - Transport - World Texture Editor - Zaby

Script Pages

Animated Textures - Audio Add Sound - Audio Play Music - Being.Me - Bots - Cached Web Image - Dance Pole - Door Object - Lighting - Move To scripts - Pickup Object - Sprites - Scale Object - Trigger Linked Script - Web Browser (Chromium) - Web Browser PopUp (Chromium)

Deco Articles

Animal Props - Alpha Pine Tree - Beds - Breaking Out - Chairs & Seating - Doors - Diving Board - Dungeon Crosses - Fire Places - Floors - Pole Dance Pole - Primitive Props - Lapdance Chairs - Ramps - Rope Prop - Sign 01 - Tileable Props - Texture Translucent - Triggers - VIP Ropes

Advertisement