Add Force
Node description and basic instructions
Last updated
Node description and basic instructions
Last updated
Adds a force to the Rigidbody. Force is applied continuously along the direction of the force vector. Specifying the ForceMode mode allows the type of force to be changed to an Acceleration, Impulse or Velocity Change.
By default the Rigidbody's state is set to awake once a force is applied, unless the force is Vector3.zero.
To create it, right-click on free space in AI Tree inspector and select Create Node/Tasks/Rigidbody/Add Force.
This task node has a number of fields, that are highlighted in picture below.
Name | Description |
---|---|
Node Name
Name of node
Ignore Abort Self
Whether node ignores abort self or not
Target
Target to which force is added
Force
Force vector in world coordinates
Mode
Method used to apply the force to its targets