DarkflameServer/dNavigation
David Markowitz c26086aff5
perf: Add path height correction on world load (#1178)
* Add path height correction on world load

* Increase height because Nexus Tower is tall

* Update height checker

- Only go up and down, do not deviate from the point you are on
- As a backup, use the nearestPoint on the nearestPoly, should detour be able to find one.
- Add a debug assert to fail the program should toReturn differ from nearestPoint[1].

Update dNavMesh.cpp

Update dNavMesh.cpp

* Fix if condition to actually return the value...

---------

Co-authored-by: Aaron Kimbrell <aronwk.aaron@gmail.com>
2023-08-12 09:20:00 -05:00
..
dTerrain fix raw reading 2023-08-09 22:08:32 -07:00
CMakeLists.txt Modularize CMakeLists for submodules (#736) 2022-08-18 19:23:42 -07:00
DetourExtensions.h Move Navmesh code away from dPhysics (#701) 2022-08-02 06:30:19 +01:00
dNavMesh.cpp perf: Add path height correction on world load (#1178) 2023-08-12 09:20:00 -05:00
dNavMesh.h perf: Add path height correction on world load (#1178) 2023-08-12 09:20:00 -05:00