Parcourir la source

Update NavigationAgent velocity description

Update NavigationAgent velocity description.
smix8 il y a 2 ans
Parent
commit
7e018df856
1 fichiers modifiés avec 2 ajouts et 2 suppressions
  1. 2 2
      tutorials/navigation/navigation_using_navigationagents.rst

+ 2 - 2
tutorials/navigation/navigation_using_navigationagents.rst

@@ -98,9 +98,9 @@ The velocity_computed signal of the NavigationAgent node must be connected to re
 
 
 .. image:: img/agent_safevelocity_signal.png
 .. image:: img/agent_safevelocity_signal.png
 
 
-In order to trigger the avoidance velocity calculation, the current velocity of the agent's parent node must be set with ``set_velocity()`` on the NavigationAgent node in ``_physics_process()``.
+Use ``set_velocity()`` on the NavigationAgent node in ``_physics_process()`` to update the agent with the current velocity of the agent's parent node.
 
 
-After a short wait for processing the avoidance (still in the same frame) the ``safe_velocity`` vector will be received with the signal.
+While avoidance is enabled on the agent the ``safe_velocity`` vector will be received with the velocity_computed signal every physics frame.
 This velocity vector should be used to move the NavigationAgent's parent node in order to avoidance collision with other avoidance using agents or avoidance obstacles.
 This velocity vector should be used to move the NavigationAgent's parent node in order to avoidance collision with other avoidance using agents or avoidance obstacles.
 
 
 .. note::
 .. note::