🔴Rotate

Introduced in GM 0.11.

COPY/PASTE PARAMETERS

New in GM 0.11! Right click on a behaviour or component to copy. Then open an object, add the same behaviour or component, and right click it to paste identical parameter settings.

Build Singleplayer & Multiplayer Logic - about [SP] or [MP] behaviours or components.

Rotate Actor about its or Rotate Around a Center Offset on any axis (clockwise/counterclockwise).

Common Uses

  • Turntable display of an asset (equipment, vehicles, etc.)

  • Platforms with a circular path

  • A rotation with more utility than Bird behaviour (can have collisions, asset not tilted)


How it Works

Trigger: (on game start)

Action: Turns or Rotates ↩ī¸â†Ēī¸

Parameter Notes

Rotate Actor

The object will turn about the Rotation Axis at its location based on the pivot point of the asset used.

Rotate Around

The object will rotate around the Rotation Axis at the Center Offset coordinates entered.

DEFINE CENTER OFFSET CORRECTLY

An object can NOT rotate around an axis if both Center Offset coordinates in the other axes equal 0. The distance from the rotation axis would be 0, so nothing would happen.

In build mode, only the center point (not the blue rotation gizmo) will appear to indicate this.

Last updated

Logo

Copyright Š 2012- 2023 The Sandbox. All Rights Reserved.

#123: GM 0.11 update - do not publish until public release

Change request updated