Change the size of the target object using a vector or manually entering X, Y & Z values.
Target | Set the target object |
Execute | Execute the Node |
↳ On Start | Toggled on the Node will execute as soon as the game starts |
Enabled | Enable or disable the node. Disabled Nodes cannot be executed |
Affect Physical | Disabled the Scaler will only scale the visual properties of the object |
Loop | Repeat the scaling automatically as soon as it is completed |
Allow Override | When toggled on the scaling can be interrupted before completing by disabling the Node or executing a new scale. |
Teleport | The teleport toggle can improve the interpolation between start and end point when making a large change over a short time |
Uniform Scale |
All 3 axis scale equally When selected only the X value will be visible |
Operation | Set the operation of the Scaler,: Scale, Set Scale, or Set Scale Offset - jump to Operation Descriptions |
Vector | Input a vector from another Node to use as the scaling values |
↳ X, Y & Z | Manually input X, Y & Z values to use as the scaling values |
Duration | Set how long the scaling will take |
Tween | Set how the scaling should interpolate between start and end sizes. When the Tween setting is Linear, scaling proceeds evenly. Test different settings for example to create a smooth start or end. |
On Loop/End | Send links to other Nodes or objects when the scaling is complete |
Scale | Scale the object from the starting size to the vector or X, Y & Z values over the duration. If the Node is executed again the scale will happen again with the last end size now the starting size. Note: Unlike movement or rotation where the starting value is always zero, with scaling the starting value is 1. A value of zero would scale the the object down until it is essentially gone |
Set Scale | Scale the object from the starting size to the final size over the duration. If the Node is executed again with the same values nothing will happen as the object has already been scaled to the set size. |
Set Scale Offset | In Set Scale Offset the starting position of the object doesn't reset after it has been scaled. It scales the object from the starting size to the vector or X, Y & Z values over the duration just like Scale but if the Node is executed again with the same values the scaling will not happen again as the object has already been scaled to the set size. Good if being used in conjunction with the Wave Generator. |
Here's a link to an example scene that shows how to implement and use the Scaler node: