Rotation Basics

Vectors are useful but can be even more powerful when combined with rotations.

Definition

A Rotation is a Core type that holds the Euler angles for an object. It describes how an object is rotated by the amount of degrees rotated on each of the three axis.

The center skeleton has zero rotation applied compared to the world space orientation.

Euler Angles

Similar to the 3D coordinate system for vectors, Rotations have three Euler angle components (x, y, and z). The colored axis vectors can be imagined as skewers on an object and turn it into the same colored rotational circle axis.

Use Cases

One of the most common uses for Rotations is to get an object’s forward looking vector. One example could be only having the player place their hand on a button if they are facing the button.

Scroll to Top