🧭Auto Rotate

Rotate to face the direction of travel

This behavior aligns an object to face (or otherwise orient itself) in the direction it is moving. This can be used with any object motion, no matter how it is being moved, even if indirectly through parental movement.

Auto Rotate has just 1 channel which outputs the calculated rotation.

World Space This behavior uses world space coordinates to calculate absolute position and rotation. Using local space is not applicable, however final local space rotation may be retrieved by accessing transform.localEulerAngles, or by exposing the Local Rotation channel in Timeflow.

Auto Rotate Editor

For common features please refer to Menu Bar and Update Settings.

Calculate Only

Enable this option to calculate auto rotation without applying it to the transform.

The main use case for Calculate Only is when rotation data is being relayed through a Channel Link or script for further calculation or to drive effects.

Orientation

Sets the overall heading of the object. Adjust the orientation to make the object face the intended direction. The default settings assume the +Z axis is forward.

Up Vector

Determines which axis is upward for the object. The default and most common value is (0, 1, 0) however may be changed depending on the situation.

Invert Direction

Flips the Auto Rotate direction 180 degrees. This is a quick way to fix an object that is facing the opposite direction than intended.

Smooth Time

Applies temporal smoothing to average out movement and reduce bumps and jitter.

A small amount of smoothing (under 1 second) is generally recommended. If zero or too small amount is entered, the resulting rotation may be prone to abrupt changes and jitter due to minor movements and precision errors. Larger values have a dampening effect, making the rotation sluggish.

Lock Axis

Restricts which axis are affected by Auto Rotate. This is most often used to fix an object on a plane, or when combining with other behaviors such as Auto Bank.

Shows the X and Z axis locked, so only the Y axis is calculated by Auto Rotate.

Each locked axis is assigned the Orientation value as the default.

Enable Override

Auto Bank vs Auto Rotate?

At first glance these behaviors may appear to do the same thing, but are quite different in the results produced. While both are based on movement, Auto Bank calculates just 1 axis of rotation from 1 axis of lateral movement, whereas Auto Rotate aligns the object on all axis to face the direction the object is traveling.

Last updated