Scale Action: Difference between revisions

From Pummel Party Mod Documentation
Jump to navigation Jump to search
(Added image)
mNo edit summary
 
Line 3: Line 3:
An action to modify the local scale of a gameobject.
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.
The action can set the local scale to a given vector, or add, subtract, multiply 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.


[[Category:Actions]]
[[Category:Actions]]

Latest revision as of 02:32, 16 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, multiply 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.