1
0
mirror of https://gitlab.com/OpenMW/openmw.git synced 2025-01-07 12:54:00 +00:00
OpenMW/apps
elsid 7ec7c57879
Remove unnecessary loops from path
This prevents actors going back when a new shortest path includes a point
behind them where they were right before. Such situation can happen when path
includes off mesh connection. Resulting cost of such path can be lower than
the real one because off mesh connections are straight lines and walking
surface usually is not a plane but a surface.

Skip to path point where distance from current position to the line between
previous and this point is less than point tolerance. Which means actor is
standing very close to the edge between those points. Additionally check by
navmesh raycasting to make sure there is actually a valid path.
2022-01-24 22:32:04 +01:00
..
benchmarks
bsatool
esmtool
essimporter Automatically drop workaround when the format is next updated 2021-12-24 23:17:50 +01:00
launcher Toggable day night switch (#5928) 2022-01-11 09:34:19 +00:00
mwiniimporter
navmeshtool Fix coverity issues 2021-12-27 16:08:00 +00:00
niftest
opencs Toggable day night switch (#5928) 2022-01-11 09:34:19 +00:00
openmw Remove unnecessary loops from path 2022-01-24 22:32:04 +01:00
openmw_test_suite Lua bindings for Colours 2022-01-17 22:35:06 +00:00
wizard Merge branch 'fix_wizard_dialogs' into 'master' 2022-01-07 14:35:12 +00:00
doc.hpp