Commit graph

1917 commits

Author SHA1 Message Date
in0finite
c4d7cd15c4 save prefab 2022-03-28 01:15:05 +02:00
in0finite
bafe52982a update submodule 2022-03-28 00:41:56 +02:00
in0finite
160cd83c2e fix warning 2022-03-28 00:22:43 +02:00
in0finite
b18b32cbfa assign nav mesh to Main scene 2022-03-27 23:15:06 +02:00
in0finite
89cf18526f fix submodule 2022-03-27 22:54:42 +02:00
in0finite
0433d90e21 add NavMeshes submodule 2022-03-27 20:57:10 +02:00
in0finite
92278f03be ... 2022-03-27 19:50:37 +02:00
in0finite
430604da6a ... 2022-03-27 19:45:10 +02:00
in0finite
7df13251d1 when finding path, try with non-Emergency node as source, if source was Emergency node 2022-03-27 19:41:37 +02:00
in0finite
36306b4484 add 2nd solution for problem with long paths 2022-03-27 19:19:25 +02:00
in0finite
d5a84e0c7f add option to calculate full nav mesh path in map window 2022-03-27 03:43:24 +02:00
in0finite
277003708f cleanup 2022-03-27 00:26:25 +01:00
in0finite
b76ee8674e handle case caused by bug in NavMesh system related to long paths 2022-03-26 23:56:36 +01:00
in0finite
a4056ef940 add more info in MovementAgentInspector 2022-03-26 23:54:26 +01:00
in0finite
10d3fe3f0c display distance of found path 2022-03-26 23:53:46 +01:00
in0finite
c258137b70 ... 2022-03-26 23:53:02 +01:00
in0finite
653bf4c7ae log progress periodically 2022-03-24 21:55:26 +01:00
in0finite
e6ce4c16c9 if specified, disable objects out of given radius 2022-03-24 21:21:35 +01:00
in0finite
301db837b8 don't assign cursor in headless mode 2022-03-24 20:45:36 +01:00
in0finite
07a67f73e5 if we can't show file browser, throw exception 2022-03-24 20:27:11 +01:00
in0finite
51f17a6229 ... 2022-03-24 19:51:45 +01:00
in0finite
e5cadf8c53 nav mesh generation is working from command line 2022-03-24 19:47:58 +01:00
in0finite
16218c0bbe ... 2022-03-24 17:54:33 +01:00
in0finite
62a8e4f4c9 fix checking if coroutine is running 2022-03-24 17:37:54 +01:00
in0finite
1a9efae6b8 fix for Loader state management 2022-03-24 17:06:01 +01:00
in0finite
ea5fbb001b ... 2022-03-24 03:24:31 +01:00
in0finite
2c323df667 ... 2022-03-24 03:16:12 +01:00
in0finite
c92a73a470 add script for generating nav mesh from command line 2022-03-24 02:44:27 +01:00
in0finite
320d7df80f ... 2022-03-24 00:51:24 +01:00
in0finite
97a38df2fd split AssetExporter into 2 classes 2022-03-24 00:22:00 +01:00
in0finite
9b0118a6da add silent mode to AssetExporter 2022-03-24 00:08:49 +01:00
in0finite
7979635aab ... 2022-03-24 00:05:04 +01:00
in0finite
48fff1fd42 adapt EscapeState 2022-03-22 21:47:22 +01:00
in0finite
4c77a8fd36 ... 2022-03-22 21:46:31 +01:00
in0finite
2ae03ccf9b sample position before warping agent, to prevent Unity to spam with warnings 2022-03-22 19:50:01 +01:00
in0finite
a250cbd42e adapt ChaseState 2022-03-22 00:03:57 +01:00
in0finite
99b89715e5 ... 2022-03-21 23:28:12 +01:00
in0finite
4d0de7155c adapt WalkAroundState 2022-03-21 23:05:15 +01:00
in0finite
ae537b455f ... 2022-03-21 22:10:15 +01:00
in0finite
61af25fc72 ... 2022-03-21 22:08:39 +01:00
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
in0finite
831f52d76f display also navmesh path in map window 2022-02-21 06:45:10 +01:00
in0finite
396b0fd3a6 when generating navmesh in Editor tool, add navmesh data before updating it 2022-02-21 04:33:04 +01:00
in0finite
2f6ee95a60 generate navmesh at runtime 2022-02-21 04:31:58 +01:00
in0finite
fc1cefb415 fix 2022-02-20 22:59:56 +01:00
in0finite
6976e8c8a0 ... 2022-02-20 20:08:37 +01:00
in0finite
682c181dec throw exception if failed to remove/add 2022-02-20 20:03:36 +01:00
in0finite
37469d508c re-use hashset 2022-02-20 19:13:10 +01:00
in0finite
be9515ce36 optimization for getting Min element from SortedSet 2022-02-20 19:04:36 +01:00
in0finite
f325ff298b fix calculation of link weight 2022-02-20 05:20:54 +01:00
in0finite
30f69225ea ... 2022-02-20 02:28:48 +01:00