|
@@ -104,7 +104,7 @@ void NavigationAgent2D::_bind_methods() {
|
|
|
ADD_SIGNAL(MethodInfo("path_changed"));
|
|
|
ADD_SIGNAL(MethodInfo("target_reached"));
|
|
|
ADD_SIGNAL(MethodInfo("navigation_finished"));
|
|
|
- ADD_SIGNAL(MethodInfo("velocity_computed", PropertyInfo(Variant::VECTOR3, "safe_velocity")));
|
|
|
+ ADD_SIGNAL(MethodInfo("velocity_computed", PropertyInfo(Variant::VECTOR2, "safe_velocity")));
|
|
|
}
|
|
|
|
|
|
void NavigationAgent2D::_notification(int p_what) {
|