doc: Clarifying NavigationAgent and NavigationAgent2D velocity_computed requires avoidance_enabled to be true to emit

(cherry picked from commit ed5b832a81bb7f67924282d2c3f96b8674ecbb7d)
This commit is contained in:
BenniKane 2022-09-01 10:07:00 -05:00 committed by Relintai
parent ad17c39ad4
commit 06ddad7cd6
2 changed files with 2 additions and 2 deletions

View File

@ -169,7 +169,7 @@
<signal name="velocity_computed">
<argument index="0" name="safe_velocity" type="Vector3" />
<description>
Notifies when the collision avoidance velocity is calculated after a call to [method set_velocity].
Notifies when the collision avoidance velocity is calculated after a call to [method set_velocity]. Only emitted when [member avoidance_enabled] is true.
</description>
</signal>
</signals>

View File

@ -163,7 +163,7 @@
<signal name="velocity_computed">
<argument index="0" name="safe_velocity" type="Vector2" />
<description>
Notifies when the collision avoidance velocity is calculated after a call to [method set_velocity].
Notifies when the collision avoidance velocity is calculated after a call to [method set_velocity]. Only emitted when [member avoidance_enabled] is true.
</description>
</signal>
</signals>