Spring
Last updated
Last updated
There are multiple nodes that you can use to set properties of a spring joint. For more information refer to the SpringJoint page in the Unity documentation.
The set nodes for an spring joint have a similar arrangement of inputs and outputs, as described in the following sections.
Inputs:
Enter
Flow
Flow to activate the node.
Input
SpringJoint
Reference to a SpringJoint object.
<property>
<varies> [editable]
The value to set for the chosen property.
Outputs:
Exit
Flow
Continue the activating flow.
Available nodes:
Set Damper
Float [editable]
Force used to dampen the spring force.
Set Max Distance
Max Distance [editable]
The maximum distance between the bodies relative to their initial distance.
Set Min Distance
Min Distance [editable]
The minimum distance between the bodies relative to their initial distance.
Set Spring
Spring [editable]
The spring force used to keep the two objects together.
Set Tolerance
Tolerance [editable]
The maximum allowed error between the current spring length and the length defined by minDistance and maxDistance.