Sleep 2D
Node description and basic instructions
Last updated
Node description and basic instructions
Last updated
Make the rigidbody "sleep".
Sleeping is an optimisation that is used to temporarily remove an object from physics simulation when it is at rest. This function makes the rigidbody sleep - it is sometimes desirable to enable this manually rather than allowing automatic sleeping with the sleepMode property.
To create it, right-click on free space in AI Tree inspector and select Create Node/Tasks/Rigidbody2D/Sleep 2D.
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 you want to apply |