Some changes to navmesh path finding, disabled waypoint nav interface for now, might keep it disabled (i don't think anyones using it anyway) added a rule that might need some fine tuning for navmesh pathfinding

This commit is contained in:
KimLS
2018-12-24 14:48:11 -08:00
parent d3aa74ff54
commit e96539e6a8
10 changed files with 307 additions and 27 deletions
+1 -1
View File
@@ -3441,7 +3441,7 @@ float Mob::FindDestGroundZ(glm::vec3 dest, float z_offset)
if (zone->zonemap != nullptr)
{
dest.z += z_offset;
best_z = zone->zonemap->FindClosestZ(dest, nullptr);
best_z = zone->zonemap->FindBestZ(dest, nullptr);
}
return best_z;
}