Commit graph

2040 commits

Author SHA1 Message Date
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