The Scaler component scales a target scale based on the distance of the slot this component is on from ""Point"" = (ScaleOffset in ScaleSource's transform space) with the distance of both points calculated in ScaleSpace.
If the slots are all under root, the scaleTarget is targeting the scale of this slot, ScaleSource is set to root, ScaleMode is set to 'FullIndependent', ScaleOffest is set to (0,0,0), ScaleMultiplier is set to (1,1,1), and the slot this component is on is an unmodified default cube, the edge of at least one part of the cube on this slot will match perfectly to Root.
The field to drive to the distance from A to B after conversion to space ScaleSpace and applying ScaleMode restrictions, and then muliplying by 2 * ScaleMultiplier.
Mode
Values
Name
Value
Description
FullUniform
0
The distance calculation from point A to B should be equal on all axies.
XYUniform
1
The distance calculation from point A to B should be done between the XY plane and applied to X and Y axis equally before calculating Z distance separately.
YZUniform
2
The distance calculation from point A to B should be done between the YZ plane and applied to Y and Z axis equally before calculating X distance separately.
XZUniform
3
The distance calculation from point A to B should be done between the XZ plane and applied to X and Z axis equally before calculating Y distance separately.
FullIndependent
4
The distance calculation from point A to B should be done separately for each axis.
Usage
Attach to a slot and fill the fields to start using this component.
Examples
This article or section is a Stub. You can help the Resonite Wiki by expanding it.