Scale Action: Difference between revisions

From Pummel Party Mod Documentation
Jump to navigation Jump to search
(Initial content)
 
(Added image)
Line 1: Line 1:
[[File:ScaleAction.png|thumb|right|600px|The Scale action. This example will set a player to be twice as large as usual.]]
An action to modify the local scale of a gameobject.
An action to modify the local scale of a gameobject.



Revision as of 00:57, 7 December 2022

The Scale action. This example will set a player to be twice as large as usual.

An action to modify the local scale of a gameobject.

The action can set the local scale to a given vector, or add, subtract, multiple or divide the current scale by a given vector. Multiplication and division are performed component wise, with the current X, Y and Z scale values each being multiplied/divided by the provided vector's X Y and Z values.