mirror of
https://gitlab.com/OpenMW/openmw.git
synced 2025-01-27 03:35:27 +00:00
e5e04b85c1
Actor may reach destination before collision. Get next path point from active packet pathfinder and use point tolerance to reduce distance. Use maximum of last destination tolerance and DEFAULT_TOLERANCE because there are 2 checks made for path completion. First checks whether actor is close enough to the destination and second drop last path point when actor is closer than DEFAULT_TOLERANCE.