1
0
Fork 0
mirror of https://github.com/OpenMW/openmw.git synced 2025-06-03 13:11:35 +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 Store mesh source data in recast mesh 2021-12-10 23:55:02 +01:00
bsatool cleans up BSAFile (#3177) 2021-10-14 14:46:44 +02:00
esmtool Save repeat and duration 2021-11-20 11:03:07 +01:00
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 Using auto keyword in most apps 2021-05-18 19:20:59 -05:00
navmeshtool Fix coverity issues 2021-12-27 16:08:00 +00:00
niftest Do a bounds check before calling functions defined in cctype 2021-11-14 11:26:15 +01:00
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 first set of additional doxygen comments 2010-09-25 15:03:53 +02:00