diff options
Diffstat (limited to 'servers/navigation_server_2d_dummy.h')
-rw-r--r-- | servers/navigation_server_2d_dummy.h | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/servers/navigation_server_2d_dummy.h b/servers/navigation_server_2d_dummy.h index 465cfcca98..0664b37ef0 100644 --- a/servers/navigation_server_2d_dummy.h +++ b/servers/navigation_server_2d_dummy.h @@ -83,6 +83,7 @@ public: int region_get_connections_count(RID p_region) const override { return 0; } Vector2 region_get_connection_pathway_start(RID p_region, int p_connection_id) const override { return Vector2(); } Vector2 region_get_connection_pathway_end(RID p_region, int p_connection_id) const override { return Vector2(); } + Vector2 region_get_closest_point(RID p_region, const Vector2 &p_point) const override { return Vector2(); } Vector2 region_get_random_point(RID p_region, uint32_t p_navigation_layers, bool p_uniformly) const override { return Vector2(); }; RID link_create() override { return RID(); } |