summaryrefslogtreecommitdiff
path: root/scene/3d/navigation_agent_3d.h
diff options
context:
space:
mode:
Diffstat (limited to 'scene/3d/navigation_agent_3d.h')
-rw-r--r--scene/3d/navigation_agent_3d.h3
1 files changed, 2 insertions, 1 deletions
diff --git a/scene/3d/navigation_agent_3d.h b/scene/3d/navigation_agent_3d.h
index 22db889618..56da2d1acf 100644
--- a/scene/3d/navigation_agent_3d.h
+++ b/scene/3d/navigation_agent_3d.h
@@ -143,10 +143,11 @@ public:
void set_velocity(Vector3 p_velocity);
void _avoidance_done(Vector3 p_new_velocity);
- virtual String get_configuration_warning() const override;
+ TypedArray<String> get_configuration_warnings() const override;
private:
void update_navigation();
+ void _check_distance_to_target();
};
#endif