You've already forked godot
mirror of
https://github.com/godotengine/godot.git
synced 2025-11-04 12:00:25 +00:00
Rename Navigation uses of 'location' to 'position'
Contrary to the entire rest of the engine NavigationAgent's and NavigationLinks decided to deal with locations instead of positions.
This commit is contained in:
@@ -780,8 +780,8 @@ void NavMap::sync() {
|
||||
|
||||
// Search for polygons within range of a nav link.
|
||||
for (const NavLink *link : links) {
|
||||
const Vector3 start = link->get_start_location();
|
||||
const Vector3 end = link->get_end_location();
|
||||
const Vector3 start = link->get_start_position();
|
||||
const Vector3 end = link->get_end_position();
|
||||
|
||||
gd::Polygon *closest_start_polygon = nullptr;
|
||||
real_t closest_start_distance = link_connection_radius;
|
||||
|
||||
Reference in New Issue
Block a user