Constraint
A Constraint component links the position, rotation, or scale of a GameObject to another GameObject. For more information, refer to the Constraints page in the Unity documentation.
Constraint Add Source
Adds a Constraint source.
Inputs:
Enter
Flow
Flow to activate the node.
Transform
Transform
Reference to a transform to add as a source.
Weight
Float [editable]
The strength applied to the source.
Constraint
Constraint
The constraint to add to.
Outputs:
Exit
Flow
Continue the activating flow.
Constraint Info
Access information about a Constraint.
Inputs:
Constraint
Constraint
The Constraint to access information about.
Outputs:
Constraint Active
Boolean
True if the Constraint is active.
Weight
Float
The strength of the Constraint.
Locked
Boolean
True if the Constraint is locked.
Source Count
Integer
The number of sources attached to this Constraint.
Constraint Remove Source
Removes a source from a Constraint.
Inputs:
Enter
Flow
Flow to activate the node.
Transform
Transform
Reference to the transform to remove as a source.
Index
Integer [editable]
The index of the source to remove.
Constraint
Constraint
The Constraint from which to remove the source.
Outputs:
Exit
Flow
Continue the activating flow.
Set Constraint Active
Sets whether a Constraint is active.
Inputs:
Enter
Flow
Flow to activate the node.
Constraint Active
Boolean [editable]
If true, the Constraint will be set as active. If false the Constraint will be set as inactive.
Constraint
Constraint
The Constraint to set active or inactive.
Outputs:
Exit
Flow
Continue the activating flow.
Last updated