Add NavigationServer.region_owns_point() helper function
Adds a helper function to check if a world space position is currently owned by a navigation region.
(cherry picked from commit e57360d8df)
This commit is contained in:
@ -100,6 +100,8 @@ public:
|
||||
virtual void region_set_travel_cost(RID p_region, real_t p_travel_cost) const;
|
||||
virtual real_t region_get_travel_cost(RID p_region) const;
|
||||
|
||||
virtual bool region_owns_point(RID p_region, const Vector2 &p_point) const;
|
||||
|
||||
/// Set the map of this region.
|
||||
virtual void region_set_map(RID p_region, RID p_map) const;
|
||||
virtual RID region_get_map(RID p_region) const;
|
||||
|
||||
Reference in New Issue
Block a user