1
0
mirror of https://gitlab.com/OpenMW/openmw.git synced 2025-02-21 09:39:56 +00:00
elsid 709baafd12
Limit AiWander destination by wander distance
From initial actor position.

findRandomPointAroundCircle may return a position outside given range. Use
raycast to choose a different reachable point within a radius but double check
and discard if it's still outside.

Use wander radius instead of wander distance for findRandomPointAroundCircle to
have better chance for a position to be inside wander distance.
2022-08-30 20:51:36 +02:00
..
2022-01-28 18:39:09 +01:00
2022-08-15 19:46:10 +02:00
2019-02-19 18:40:33 +03:00
2022-08-24 20:38:52 +02:00
2022-01-05 17:22:22 +01:00
2021-06-23 23:13:59 +02:00
2022-08-11 22:51:55 +02:00
2022-08-19 22:05:15 +02:00
2019-02-19 18:40:33 +03:00
2020-04-26 21:13:59 +03:00
2022-02-10 22:10:46 +01:00
2019-02-19 18:40:33 +03:00
2022-08-19 22:05:15 +02:00
2022-08-19 22:05:15 +02:00