Force Controller 2D
Applies continuous force to a specified rigid body component.
Input
Name | Data Type | Description |
---|---|---|
Start | Exec | Starts the rigid body operation |
Stop | Exec | Stops the rigid body operation |
Rigid Body | Component | The Rigid Body component to apply continuous force to |
Force | Vec2 | The direction and magnitude of the force to be applied to the Rigid Body component |
Force Position | Vec2 | The position in local space in which to apply the continuous force. It should be a 2D vector value. |
Is Local | Boolean | When checked, continuous force will be applied in local space; unchecked, in world space |
Output
Name | Data Type | Description |
---|---|---|
Begin | Exec | Executes the next node once force is applied |
Stay | Exec | Executes the next node while the force is being applied |
End | Exec | Executes the next node once the force is removed |
Current Force | Vec2 | The current continuous force applied to the object |