Commit graph

1827 commits

Author SHA1 Message Date
in0finite
52962e74cc ... 2022-03-21 20:45:04 +01:00
in0finite
eb0ee71ae6 when off nav mesh, if agent is in range of destination, don't move him 2022-03-21 00:10:36 +01:00
in0finite
565681cd75 when off nav mesh, update desired velocity every frame based on destination, if there is no sampled position 2022-03-20 23:52:10 +01:00
in0finite
3124685f47 use "stopping distance" from NavMeshAgent, don't try to manually stop him 2022-03-20 23:20:39 +01:00
in0finite
b8300b25ec handle case when Agent is disabled 2022-03-20 22:22:20 +01:00
in0finite
97f5dea402 reset path if position can not be sampled 2022-03-20 21:57:46 +01:00
in0finite
bc26a10ab5 handle cases when destination changes by significant amount, but it's not recognized by "delta position" method 2022-03-20 21:51:55 +01:00
in0finite
e35f238e55 handle situation when agent is off nav mesh - move him to sample position, or if it doesn't exist, to destination 2022-03-20 15:56:49 +01:00
in0finite
77cc164ea4 check stopping distance to calculated destination, not to assigned destination 2022-03-20 12:36:54 +01:00
in0finite
08bb988a55 fix issue when agent is not on nav mesh 2022-03-19 17:44:11 +01:00
in0finite
07e1a7fff6 add inspector for MovementAgent 2022-03-19 16:25:24 +01:00
in0finite
9b521a7e96 ... 2022-03-19 16:24:47 +01:00
in0finite
74514cb91e allow for editable/non-editable controls when drawing properties 2022-03-19 16:23:52 +01:00
in0finite
36544cb6bb ... 2022-03-14 20:09:22 +01:00
in0finite
ba765922b4 ... 2022-03-14 13:03:45 +01:00
in0finite
3561f0657a disable nav mesh agent while ped is in vehicle 2022-03-14 13:00:07 +01:00
in0finite
2fb543ef0a properly stopping if close enough to destination 2022-03-14 10:03:21 +01:00
in0finite
ef053b9c45 ... 2022-03-14 08:58:48 +01:00
in0finite
bae1f0694e increase navmesh PathfindingIterationsPerFrame to 1000 2022-03-14 08:40:32 +01:00
in0finite
feb0b6e74a use MovementAgent 2022-03-14 08:39:31 +01:00
in0finite
d097287aa1 log stats for calculating path in map window 2022-03-14 08:33:00 +01:00
in0finite
8b000557ce fix navmesh generation for interiors 2022-03-07 23:45:58 +01:00
in0finite
b1c9d38e3a use all MapObjects when exporting assets 2022-03-07 03:18:26 +01:00
in0finite
566a2bd6a3 delegate creation of navmesh build sources to MapObject classes 2022-03-07 01:41:52 +01:00
in0finite
4d157f8f0c add NavMeshAgent 2022-03-07 01:02:40 +01:00
in0finite
c9d4772da7 fix 2022-03-06 03:38:06 +01:00
in0finite
4de69f976d allow editing of navmesh build settings 2022-03-06 03:15:40 +01:00
in0finite
3e001ad856 fix 3-vertices faces for render mesh 2022-03-06 03:10:28 +01:00
in0finite
a7c1a6a61c ... 2022-03-06 03:09:03 +01:00
in0finite
10775e2409 3-vertices faces finally working 2022-03-05 19:58:21 +01:00
in0finite
ee96efc1c3 add support for 3 mesh vertices - still not working 2022-03-05 03:50:26 +01:00
in0finite
c99d4f6200 ... 2022-03-03 06:49:34 +01:00
in0finite
f08dcb7c3d use separate collision height for shallow water faces 2022-03-03 05:55:19 +01:00
in0finite
1af5202779 use NavMeshCollectGeometry.PhysicsColliders for water when generating navmesh 2022-03-03 05:48:02 +01:00
in0finite
b567230a0d use StringComparer.InvariantCultureIgnoreCase for dictionary 2022-03-03 05:45:03 +01:00
in0finite
40ce340044 ... 2022-02-28 02:09:19 +01:00
in0finite
652e8e892e add option to skip loading render meshes, which also skips loading of Clumps 2022-02-28 01:03:57 +01:00
in0finite
f4772d63f6 add ImportingMenuTools 2022-02-27 21:54:04 +01:00
in0finite
fe3e6ddb22 interior waters are offsetted to higher Y position 2022-02-27 20:15:44 +01:00
in0finite
a68e42e3f1 don't generate navmesh at runtime 2022-02-27 18:42:51 +01:00
in0finite
4ec73c8f8d add local ped menu tools 2022-02-27 18:42:23 +01:00
in0finite
291266cafa ... 2022-02-27 18:39:25 +01:00
in0finite
0cf357a993 fix finding center for box collider - this fixes 3-vertices faces 2022-02-27 18:38:32 +01:00
in0finite
0cbdfa8738 add water menu tools 2022-02-27 18:36:19 +01:00
in0finite
878e89a8a9 use WaterFaceInfo script 2022-02-27 18:34:29 +01:00
in0finite
492ae15444 fix visualization for water collision meshes 2022-02-27 18:32:00 +01:00
in0finite
18e5ec830a create visuals for collision objects 2022-02-27 01:03:22 +01:00
in0finite
706d2b6d9d generate box colliders for water mesh 2022-02-27 00:44:14 +01:00
in0finite
6185f7089f create collision parts for water 2022-02-22 04:38:01 +01:00
in0finite
30b9d56e36 add stats about loading thread and pathfinding manager 2022-02-22 00:53:01 +01:00