Force Controller 2D
Applies continuous force to a specified rigid body component.
Input
Name | Data Type | Description |
---|---|---|
Start | Exec | Begins the rigid body operation |
Stop | Exec | Stops the rigid body operation |
Rigid Body | Component | The rigid body component that you want to apply an external force to |
Force | Vec2 | The direction and magnitude of the force that you want to apply the rigid body component |
Force Position | Vec2 | Represents the position in the local space where you want to apply the external force. It should be a 2D vector value. |
Is Local | Boolean | Check if you want to apply the constant force in the local space; uncheck if in the world space. |
Output
Name | Data Type | Description |
---|---|---|
Begin | Exec | Execute the next node |
Stay | Exec | Execute the next node |
End | Exec | Execute the next node |
Current Force | Vec2 | The current constant force applied to the object |