diff options
author | Duroxxigar <young9003@gmail.com> | 2020-02-10 15:24:00 +0100 |
---|---|---|
committer | Andrea Catania <info@andreacatania.com> | 2020-02-10 15:24:06 +0100 |
commit | 383c583a0b46b36ab9b0de57d0f3f7bdecb62fc8 (patch) | |
tree | 7ece640a3f24f626446451270353080bab14ac63 /servers | |
parent | e6be3f68da4b88cb0c7d8c7464916235c73e1f92 (diff) |
Documented the new NavigationServer and all its associated nodes (2D and 3D)
Diffstat (limited to 'servers')
-rw-r--r-- | servers/navigation_2d_server.cpp | 2 | ||||
-rw-r--r-- | servers/navigation_server.cpp | 2 |
2 files changed, 2 insertions, 2 deletions
diff --git a/servers/navigation_2d_server.cpp b/servers/navigation_2d_server.cpp index 6df308d046..d4ca402136 100644 --- a/servers/navigation_2d_server.cpp +++ b/servers/navigation_2d_server.cpp @@ -146,7 +146,7 @@ void Navigation2DServer::_bind_methods() { ClassDB::bind_method(D_METHOD("agent_set_radius", "agent", "radius"), &Navigation2DServer::agent_set_radius); ClassDB::bind_method(D_METHOD("agent_set_max_speed", "agent", "max_speed"), &Navigation2DServer::agent_set_max_speed); ClassDB::bind_method(D_METHOD("agent_set_velocity", "agent", "velocity"), &Navigation2DServer::agent_set_velocity); - ClassDB::bind_method(D_METHOD("agent_set_velocity_target", "agent", "target_velocity"), &Navigation2DServer::agent_set_target_velocity); + ClassDB::bind_method(D_METHOD("agent_set_target_velocity", "agent", "target_velocity"), &Navigation2DServer::agent_set_target_velocity); ClassDB::bind_method(D_METHOD("agent_set_position", "agent", "position"), &Navigation2DServer::agent_set_position); ClassDB::bind_method(D_METHOD("agent_is_map_changed", "agent"), &Navigation2DServer::agent_is_map_changed); ClassDB::bind_method(D_METHOD("agent_set_callback", "agent", "receiver", "method", "userdata"), &Navigation2DServer::agent_set_callback, DEFVAL(Variant())); diff --git a/servers/navigation_server.cpp b/servers/navigation_server.cpp index 91d765202c..c4c54cbce1 100644 --- a/servers/navigation_server.cpp +++ b/servers/navigation_server.cpp @@ -63,7 +63,7 @@ void NavigationServer::_bind_methods() { ClassDB::bind_method(D_METHOD("agent_set_radius", "agent", "radius"), &NavigationServer::agent_set_radius); ClassDB::bind_method(D_METHOD("agent_set_max_speed", "agent", "max_speed"), &NavigationServer::agent_set_max_speed); ClassDB::bind_method(D_METHOD("agent_set_velocity", "agent", "velocity"), &NavigationServer::agent_set_velocity); - ClassDB::bind_method(D_METHOD("agent_set_velocity_target", "agent", "target_velocity"), &NavigationServer::agent_set_target_velocity); + ClassDB::bind_method(D_METHOD("agent_set_target_velocity", "agent", "target_velocity"), &NavigationServer::agent_set_target_velocity); ClassDB::bind_method(D_METHOD("agent_set_position", "agent", "position"), &NavigationServer::agent_set_position); ClassDB::bind_method(D_METHOD("agent_is_map_changed", "agent"), &NavigationServer::agent_is_map_changed); ClassDB::bind_method(D_METHOD("agent_set_callback", "agent", "receiver", "method", "userdata"), &NavigationServer::agent_set_callback, DEFVAL(Variant())); |