summaryrefslogtreecommitdiffstats
path: root/servers/navigation_server.cpp
diff options
context:
space:
mode:
authorDuroxxigar <young9003@gmail.com>2020-02-10 15:24:00 +0100
committerAndrea Catania <info@andreacatania.com>2020-02-10 15:24:06 +0100
commit383c583a0b46b36ab9b0de57d0f3f7bdecb62fc8 (patch)
tree7ece640a3f24f626446451270353080bab14ac63 /servers/navigation_server.cpp
parente6be3f68da4b88cb0c7d8c7464916235c73e1f92 (diff)
downloadredot-engine-383c583a0b46b36ab9b0de57d0f3f7bdecb62fc8.tar.gz
Documented the new NavigationServer and all its associated nodes (2D and 3D)
Diffstat (limited to 'servers/navigation_server.cpp')
-rw-r--r--servers/navigation_server.cpp2
1 files changed, 1 insertions, 1 deletions
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()));