Position Action: Difference between revisions

From Pummel Party Mod Documentation
Jump to navigation Jump to search
(Initial content)
 
(Added image)
Line 1: Line 1:
[[File:PositionAction.png|thumb|600px|The Position action. This example will move an item 10 units to its right.]]
An action to modify the position of a gameobject.
An action to modify the position of a gameobject.



Revision as of 00:51, 7 December 2022

The Position action. This example will move an item 10 units to its right.

An action to modify the position of a gameobject.

The action can set the position to a given vector, or add, subtract, multiple or divide the position vector's values by another 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 position is being edited by the action. Local is in reference to the object's parent, while World is relative to the world origin.