Rotation Action

From Pummel Party Mod Documentation
Jump to navigation Jump to search
The Rotation action. This example will set the rotation of a prop to 180 degrees on the x-axis, and zero out the other two axes.

An action to modify the rotation of a gameobject.

The action can set the rotation to a given vector of Euler angles, or add, subtract, multiply or divide the rotation's Euler angle vector by a given vector. Multiplication and division are performed component-wise, with the current position X, Y and Z values each being multiplied/ divided by the provided vector.

Local vs World space changes which rotation is being edited by the action. Local is relative to the rotation of the object's parent, while World is relative to the world's orientation.