Commit Graph

94 Commits

Author SHA1 Message Date
ikpil 2d0e2f8525 Fix dynamic mesh bounds calculation #77
recast4j
- https://github.com/recast4j/recast4j/issues/203
- https://github.com/recast4j/recast4j/pull/204
2024-09-21 02:54:01 +09:00
ikpil f18bedb02d force utf-8 2024-09-05 22:57:28 +09:00
Sarofc 997d3f1a9b draw agent option 2024-08-08 22:53:27 +09:00
ikpil bc7818a1c5 [Upstream] fix: Fix raycast shortcuts (@Sarofc)
Raycast is performed in 2d and it might report reaching the given position even if the Y coordinate is different than the target. Therefore, it is necessary to check what poly is actually hit by raycast before taking a shortcut.

- https://github.com/recast4j/recast4j/issues/196
- https://github.com/recast4j/recast4j/pull/197
- https://github.com/ikpil/DotRecast/issues/72
2024-07-18 20:06:36 +09:00
ikpil c562f8f6a1 Changed new RcVec3f[3] to stackalloc RcVec3f[3] in DtNavMesh.GetPolyHeight() to reduce heap allocation. 2024-07-14 00:09:08 +09:00
ikpil e5d5867c56 rename RcVecUtils to RcVec 2024-06-25 00:02:59 +09:00
ikpil b88b6096f6 Fixed where the dynamic voxel save file browser doesn't appear In Demo 2024-06-11 22:23:22 +09:00
ikpil b18845a749 Removed RcVecUtils.Scale() 2024-06-07 21:31:11 +09:00
ikpil 99224251dc Changed `List<DtStraightPath>` to `Span<DtStraightPath>` for enhanced memory efficiency 2024-05-23 21:19:16 +09:00
ikpil c7f03d00ff Changed `Dictionary<int, List<DtMeshTile>>` to `DtMeshTile[]` to optimize memory usage 2024-05-22 01:34:11 +09:00
ikpil 47be4eca70 added DtNavMesh.Init() 2024-05-12 22:05:19 +09:00
ikpil 40306a5302 rename RcRecast, DtDetour 2024-05-12 01:11:03 +09:00
ikpil e926c23195 SOH #41 2024-05-09 00:34:22 +09:00
ikpil 59849e1dac add `int nvisited` in DtPathUtils.functions 2024-05-09 00:00:53 +09:00
ikpil cfdcc1336c preparatory work to resolve the SOH issue during path merging. 2024-05-08 00:25:32 +09:00
ikpil fc673b2c25 test2 2024-05-06 15:45:24 +09:00
ikpil 741200b559 added int npath param in FixupShortcuts() 2024-05-06 14:37:43 +09:00
ikpil 80e07ebb3c Tick 'Keep Intermediate Results' option. 2024-04-17 23:50:48 +09:00
ikpil 26a1dfddeb fix bug where return value of dynamic update result is reversed 2024-04-13 12:43:54 +09:00
ikpil 3c4723c907 added npath in MergeCorridor functions 2024-02-23 01:02:23 +09:00
ikpil 01b3bcf771 added RcCylicBuffer<long> extensions 2024-02-19 00:36:44 +09:00
ikpil d0bec3714e added corridor maxpath for SOH issue
- https://github.com/ikpil/DotRecast/issues/41
2024-02-16 00:26:23 +09:00
ikpil 2dc8593c78 Added avg, min, max, sampling updated times in CrowdAgentProfilingTool 2024-02-04 12:14:41 +09:00
ikpil dbb03988f5 fix: DtRaycastHit SOH issue reslove 2024-02-01 13:59:22 +09:00
ikpil aaff85b229 fix: Change DtRaycastHit class to struct to resolve SOH issue. step2 2024-02-01 13:59:22 +09:00
ikpil 4c8c596450 bugfix: creating convex volume with two points(#34)
- Issue reporter @adambennett55
- https://github.com/ikpil/DotRecast/issues/34
2024-01-12 01:46:52 +09:00
ikpil b341a41fae typo public property getter -> readonly 2023-12-29 21:07:44 +09:00
c0nd3v b1db6df033 Fix typo 2023-12-23 11:14:00 +09:00
ikpil 69c8c950d2 refactor: add type-safe array copy function 2023-11-11 13:08:52 +09:00
ikpil 5176ee036a refactor: support .netstandard2.1 vector3 2023-10-28 12:08:17 +09:00
ikpil 9a62fbf9f4 refactor: RcVec3f.Mad, IsFinite, Lerp 2023-10-26 00:05:00 +09:00
ikpil 18a195404f refactor: RcVec3f.Dist2D, Dist2DSqr, Perp2D 2023-10-25 23:50:54 +09:00
ikpil 28ad34b032 refactor: RcVec3f.DistSqr, RcVec3f.LenSqr 2023-10-25 00:40:00 +09:00
ikpil d99666048b refactor: Math -> MathF 2023-10-25 00:09:34 +09:00
ikpil 04fa38bb96 refactor: RcVecUtils.SafeNormalize 2023-10-24 23:46:45 +09:00
ikpil 3861b0a2c1 refactor: RcVec3f.Normalize now corresponds to System.Numerics.Vector3.Normalize in the switching build 2023-10-22 12:26:54 +09:00
ikpil 5c2dd6b757 refactor: cleaning up the API to .net 8 Sytem.Numerics compatibility. 2023-10-18 00:08:28 +09:00
ikpil 587cebd32c feat: added DotRecast.Core.Collections namespace 2023-10-17 00:24:09 +09:00
ikpil cfcdf86f2d feat: change namespace RcVec2f, RcVec3f, RcMatrix4x4f for dotent 8 2023-10-16 23:55:34 +09:00
ikpil 228bdc9e4d refactor: remove RcVec3f.Of(x,y,z) 2023-10-12 23:52:32 +09:00
ikpil 7965af390e refactor: Change 'xyz' to uppercase in preparation for switching to System.Numeric.Vector3 2023-10-12 23:04:29 +09:00
ikpil 3df6036ebb refactor: typo 2023-10-11 23:31:15 +09:00
ikpil 31734246b6 refactor: DtFindPathOptions, DtRaycastOptions 2023-10-08 14:28:56 +09:00
ikpil 533afe49e2 refactor: flags 2023-10-08 14:23:58 +09:00
ikpil 34f38fc874 refactoring: typo 2023-10-05 23:35:18 +09:00
ikpil e02e097577 refactoring: prefix Dt 2023-10-05 00:11:58 +09:00
ikpil 4f2cc63886 refactor: annotation builder 2023-09-23 07:57:47 +09:00
ikpil 07e6b08517 refactor: rename 2023-09-22 23:42:21 +09:00
ikpil 087582c42e refactor: rename for unity3d 2023-09-21 23:36:55 +09:00
ikpil c1cc0fb286 refactor: added RcDirectory, RcResources 2023-09-20 23:41:18 +09:00