Commit graph

2071 commits

Author SHA1 Message Date
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
318724fa62
Merge pull request #123 from atirut-w/vulkan-over-opengl
Prefer Vulkan over OpenGL on Linux
2022-03-18 00:45:46 +01:00
Atirut Wattanamongkol
47a1ea3308 Prefer Vulkan over OpenGL on Linux
This should improve the graphical performance.
2022-03-18 06:05:48 +07: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