|
278 | 278 | <param index="1" name="enabled" type="bool" /> |
279 | 279 | <description> |
280 | 280 | Sets if the agent uses the 2D avoidance or the 3D avoidance while avoidance is enabled. |
281 | | - If [code]true[/code] the agent calculates avoidance velocities in 3D for the xyz-axis, e.g. for games that take place in air, underwater or space. The 3D using agent only avoids other 3D avoidance using agent's. The 3D using agent only reacts to radius based avoidance obstacles. The 3D using agent ignores any vertices based obstacles. The 3D using agent only avoids other 3D using agent's. |
282 | | - If [code]false[/code] the agent calculates avoidance velocities in 2D along the xz-axis ignoring the y-axis. The 2D using agent only avoids other 2D avoidance using agent's. The 2D using agent reacts to radius avoidance obstacles. The 2D using agent reacts to vertices based avoidance obstacles. The 2D using agent only avoids other 2D using agent's. 2D using agents will ignore other 2D using agents or obstacles that are below their current position or above their current position including the agents height in 2D avoidance. |
| 281 | + If [code]true[/code] the agent calculates avoidance velocities in 3D for the xyz-axis, e.g. for games that take place in air, underwater or space. The 3D using agent only avoids other 3D avoidance using agents. The 3D using agent only reacts to radius based avoidance obstacles. The 3D using agent ignores any vertices based obstacles. The 3D using agent only avoids other 3D using agents. |
| 282 | + If [code]false[/code] the agent calculates avoidance velocities in 2D along the xz-axis ignoring the y-axis. The 2D using agent only avoids other 2D avoidance using agents. The 2D using agent reacts to radius avoidance obstacles. The 2D using agent reacts to vertices based avoidance obstacles. The 2D using agent only avoids other 2D using agents. 2D using agents will ignore other 2D using agents or obstacles that are below their current position or above their current position including the agents height in 2D avoidance. |
283 | 283 | </description> |
284 | 284 | </method> |
285 | 285 | <method name="agent_set_velocity"> |
286 | 286 | <return type="void" /> |
287 | 287 | <param index="0" name="agent" type="RID" /> |
288 | 288 | <param index="1" name="velocity" type="Vector3" /> |
289 | 289 | <description> |
290 | | - Sets [param velocity] as the new wanted velocity for the specified [param agent]. The avoidance simulation will try to fulfill this velocity if possible but will modify it to avoid collision with other agent's and obstacles. When an agent is teleported to a new position use [method agent_set_velocity_forced] as well to reset the internal simulation velocity. |
| 290 | + Sets [param velocity] as the new wanted velocity for the specified [param agent]. The avoidance simulation will try to fulfill this velocity if possible but will modify it to avoid collision with other agents and obstacles. When an agent is teleported to a new position use [method agent_set_velocity_forced] as well to reset the internal simulation velocity. |
291 | 291 | </description> |
292 | 292 | </method> |
293 | 293 | <method name="agent_set_velocity_forced"> |
|
471 | 471 | <param index="0" name="link" type="RID" /> |
472 | 472 | <param index="1" name="navigation_layers" type="int" /> |
473 | 473 | <description> |
474 | | - Set the links's navigation layers. This allows selecting links from a path request (when using [method NavigationServer3D.map_get_path]). |
| 474 | + Set the link's navigation layers. This allows selecting links from a path request (when using [method NavigationServer3D.map_get_path]). |
475 | 475 | </description> |
476 | 476 | </method> |
477 | 477 | <method name="link_set_owner_id"> |
|
831 | 831 | <param index="0" name="obstacle" type="RID" /> |
832 | 832 | <param index="1" name="layers" type="int" /> |
833 | 833 | <description> |
834 | | - Set the obstacles's [code]avoidance_layers[/code] bitmask. |
| 834 | + Set the obstacle's [code]avoidance_layers[/code] bitmask. |
835 | 835 | </description> |
836 | 836 | </method> |
837 | 837 | <method name="obstacle_set_height"> |
|
0 commit comments