mirror of
https://github.com/godotengine/godot.git
synced 2026-01-03 18:11:19 +03:00
Rename Navigation's neighbor_dist to neightbor_distance
NavigationAgent2D/3D.`neighbor_dist` -> `neighbor_distance` (also affects setters and getters) NavigationServer2D/3D.`agent_set_neighbor_dist()` -> `agent_set_neighbor_distance()` Also changes their parameters' names. Doesn't affect "Agent.neighborDist_" in Agent.h
This commit is contained in:
@@ -72,10 +72,10 @@
|
||||
Sets the maximum speed of the agent. Must be positive.
|
||||
</description>
|
||||
</method>
|
||||
<method name="agent_set_neighbor_dist" qualifiers="const">
|
||||
<method name="agent_set_neighbor_distance" qualifiers="const">
|
||||
<return type="void" />
|
||||
<param index="0" name="agent" type="RID" />
|
||||
<param index="1" name="dist" type="float" />
|
||||
<param index="1" name="distance" type="float" />
|
||||
<description>
|
||||
Sets the maximum distance to other agents this agent takes into account in the navigation. The larger this number, the longer the running time of the simulation. If the number is too low, the simulation will not be safe.
|
||||
</description>
|
||||
|
||||
Reference in New Issue
Block a user