mirror of
https://github.com/DarkflameUniverse/DarkflameServer.git
synced 2025-08-04 01:34:07 +00:00
fix: Update navmeshes (#1229)
* re-add x and z checking for height Now that we have better navmeshes, this will result in much better results and as such we can re-enable this check. * Always run navmesh extraction waste of time most of the time, but no other way to force update to the meshes easily. * Navmeshes Version 2 - Add all missing zones - Drastically improve several zones and their navmeshes, cleaning them up, making them more accurate and generally using more features of detour/recast. * Update CMakeLists.txt * update meshes * Navmesh: Add pet cove navmesh * Navmesh: Fix navmesh for fv
This commit is contained in:
@@ -131,7 +131,7 @@ float dNavMesh::GetHeightAtPoint(const NiPoint3& location, const float halfExten
|
||||
pos[2] = location.z;
|
||||
|
||||
dtPolyRef nearestRef = 0;
|
||||
float polyPickExt[3] = { 0.0f, halfExtentsHeight, 0.0f };
|
||||
float polyPickExt[3] = { 32.0f, halfExtentsHeight, 32.0f };
|
||||
float nearestPoint[3] = { 0.0f, 0.0f, 0.0f };
|
||||
dtQueryFilter filter{};
|
||||
|
||||
|
Reference in New Issue
Block a user