Transform
Description
A Transform OverNode is used to handle the position, rotation, and scale of an object in the Scene, by interacting with the Unity Transform Component.
Transform Exposer
This OverNode is used to expose certain parameters and attributes of a given input Unity Transform Component, which are:
Name | Type | Description |
---|---|---|
Ref | A reference of the input Unity Transform Component | |
Position | Vector3 | The world space position of the Transform |
Rotation | Quaternion | The world space rotation of the Transform |
Scale | Vector3 | The scale of the Transform relative to its parent Transform |
Local Position | Vector3 | The position of the Transform relative to its parent Transform |
Local Rotation | Quaternion | The rotation of the Transform relative to its parent Transform |
Lossy Scale | Vector3 | The global scale of the object |
Forward | Vector3 | Normalized Vector representing the forward direction (blue axis) of the Transform in world space |
Right | Vector3 | Normalized Vector representing the right direction (red axis) of the Transform in world space |
Up | Vector3 | Normalized Vector representing the up direction (green axis) of the Transform in world space |
Handlers
Set Position
This OverNode is used to modify an existing Transform Component, by setting its position. A Space
parameter can be selected to instruct the node either to set inLocal Space
or World Space
.
This Flow Node accepts the following input data:
Name | Type | Description |
---|---|---|
Transform | A reference of the input Unity Transform Component | |
Position | Vector3 | Position value to be set |
Space | Enum | Local or World space |
and produces the following output data:
Name | Type | Description |
---|---|---|
Updated Component | A reference of the updated Unity Transform Component |
Set Rotation
This OverNode is used to modify an existing Transform Component, by setting its rotation. A Space
parameter can be selected to instruct the node either to set inLocal Space
or World Space
.
This Flow Node accepts the following input data:
Name | Type | Description |
---|---|---|
Transform | A reference of the input Unity Transform Component | |
Rotation | Quaternion | Rotation value to be set |
Space | Enum | Local or World space |
and produces the following output data:
Name | Type | Description |
---|---|---|
Updated Component | A reference of the updated Unity Transform Component |
Set Scale
This OverNode is used to modify an existing Transform Component, by setting its local scale.
This Flow OverNode accepts the following input data:
Name | Type | Description |
---|---|---|
Transform | A reference of the input Unity Transform Component | |
Scale | Vector3 | Scale value to be set |
and produces the following output data:
Name | Type | Description |
---|---|---|
Updated Component | A reference of the updated Unity Transform Component |
Set Parent
This OverNode is used to modify an existing Transform Component, by setting its parent Transform.
This Flow OverNode accepts the following input data:
Name | Type | Description |
---|---|---|
Transform | A reference of the input Unity Transform Component | |
Parent | Transform to be set as new parent |
and produces the following output data:
Name | Type | Description |
---|---|---|
Updated Component | A reference of the updated Unity Transform Component |
Look At
This OverNode rotates the transform so the forward vector points at target's current position.
This Flow OverNode accepts the following input data:
Name | Type | Description |
---|---|---|
Transform | A reference of the input Unity Transform Component | |
Target | object | Target to be looked at. The type is generic so that anything can be used as a potential target, either a point in space or an actual Transform |
Up | Vector3 | The up vector of the world |
Translate
This OverNode moves the transform in the direction and distance of translation.
This Flow OverNode accepts the following input data:
Name | Type | Description |
---|---|---|
Transform | A reference of the input Unity Transform Component | |
Translation | Vector3 | Vector describing the translation to perform |
Space | Enum | Local or World space |
Rotate
This OverNode is used to rotate GameObjects.
This Flow OverNode accepts the following input data:
Name | Type | Description |
---|---|---|
Transform | A reference of the input Unity Transform Component | |
Axis | Vector3 | Vector describing the rotation axis |
Angle | Float | Angle in degrees of the rotation |
Space | Enum | Local or World space |
Last updated