Commit Graph

195 Commits

Author SHA1 Message Date
stephen holmes
ff47299444 Follow up to [at]27912040 . Designed to help track down issues that are being caused by invalid bounds being passed in to FRcTileBox.
[REVIEW]

[CL 27965574 by stephen holmes in ue5-main branch]
2023-09-18 13:37:01 -04:00
yoan stamant
9d4992961c [Navigation] Added bounds to NavCollision since geometry can differ from StaticMesh
- Bumped the DDC version of the NavCollision
- Updated StaticMeshComponent to return bounds from the NavCollision when possible
- Fixed InstancedStaticMeshComponent not using the additional geometry of the NavCollision when exporting the custom navigable geomerty
- Updated InstancedStaticMeshComponent to compute bounds using the NavCollision for GetNavigationBounds, PartialNavigationUpdate and when gathering per instance transforms for navigation
- Updated UHierarchicalInstancedStaticMeshComponent to use bounds from the NavCollision for PartialNavigationUpdate
#jira UE-186525
#rb aris.theophanidis

[CL 27753562 by yoan stamant in ue5-main branch]
2023-09-11 10:47:11 -04:00
aris theophanidis
2992b8d39c Fix usage of SHOW_NAV_EXPORT_PREVIEW define.
#rb Yoan.StAmant

[CL 27457956 by aris theophanidis in ue5-main branch]
2023-08-29 14:35:11 -04:00
aris theophanidis
a4ed8604ca Improve FRecastNavMeshGenerator::MarkDirtyTiles speed by prefiltering dirty area bounds using the bounds of invokers seeds.
Also added some profile tags in MarkDirtyTiles.
#rb Yoan.StAmant

[CL 27049453 by aris theophanidis in ue5-main branch]
2023-08-11 18:04:18 -04:00
aris theophanidis
dfa8f060e7 Fixed navmesh dirty area logs to display bound sizes as indicated and Improved log readability.
#rb Yoan.StAmant

[CL 27002262 by aris theophanidis in ue5-main branch]
2023-08-10 14:41:17 -04:00
yoan stamant
b6f974cc30 [NavigationSystem] replaced requirement of PrimitiveComponent by INavRelevantInterface + UObject.
Added dedicated delegates for UObject based registration and update.
#rb maxime.mercier
#rb aris.theophanidis
#jira UE-186525

[CL 26981216 by yoan stamant in ue5-main branch]
2023-08-09 20:35:21 -04:00
Brice Criswell
8b12100fca Fix no-Recast builds [Github Pull Request: 9579]
#jira UE-164492
#rb Maxime.Mercier, Aris.Theophanidis

[CL 26783940 by Brice Criswell in ue5-main branch]
2023-08-02 15:20:28 -04:00
michael forot
6e4094da3e Chaos implicit object ref counted ptr + union simple shapes (WIP)
#rb chris.caulfield

[CL 26722951 by michael forot in ue5-main branch]
2023-07-31 17:46:47 -04:00
aris theophanidis
4501f70a0d [Navmesh] Validating AgentMaxStepHeight in relation to AgentMaxSlope and CellSize
#rb Mikko.Mononen
#rb Mieszko.Zielinski

[CL 26408076 by aris theophanidis in ue5-main branch]
2023-07-17 11:16:57 -04:00
james keeling
0eac10ee3f [Navmesh] Cancel async building tasks when navmesh generator is destroyed to prevent leaking any build tasks.
#jira UE-189969
#rb mieszko.zielinski

[CL 26347050 by james keeling in ue5-main branch]
2023-06-30 12:39:09 -04:00
aris theophanidis
2d7a4adee9 [Navmesh] Fix voxel filtering issue when using high AgentMaxSlope values in combination with high CellSize values.
#rb Mieszko.Zielinski

[CL 26263218 by aris theophanidis in ue5-main branch]
2023-06-27 13:37:19 -04:00
aris theophanidis
ccff6bbade [Navmesh] Addition of tile generation history and stats when LogNavigationHistory is set to Log.
#rb Mieszko.Zielinski

[CL 26012395 by aris theophanidis in ue5-main branch]
2023-06-15 09:37:15 -04:00
aris theophanidis
25ec0fe467 [Navmesh] Increase the height where the navmesh can generate (now using 29 bits instead of 15, allowing 26000 km of altitude when using 5 cm CellHeight).
Changed rcCompactSpan to use rcSpanUInt for y
#jira UE-170917
#rb Mikko.Mononen
#preflight 6479f9d8e83bf655eec1bf78

[CL 25762526 by aris theophanidis in ue5-main branch]
2023-06-02 11:24:51 -04:00
edwin maynard
ad7dff1c8b [Backout] - CL25685905 (backed out due to cis issues)
[FYI] Aris.Theophanidis
Original CL Desc
-----------------------------------------------------------------
[Navmesh] Increase the height where the navmesh can generate (now using 29 bits instead of 15, allowing 26000 km of altitude when using 5 cm CellHeight).
Removed unused hmin and hmax from dtTileCacheLayerHeader.
Increased navmesh version to 27.
#jira UE-170917
#rb Mikko.Mononen
#preflight 64764387d8097b4382ebda24

[CL 25690551 by edwin maynard in ue5-main branch]
2023-05-30 17:37:39 -04:00
aris theophanidis
44f7f8b892 [Navmesh] Increase the height where the navmesh can generate (now using 29 bits instead of 15, allowing 26000 km of altitude when using 5 cm CellHeight).
Removed unused hmin and hmax from dtTileCacheLayerHeader.
Increased navmesh version to 27.
#jira UE-170917
#rb Mikko.Mononen
#preflight 64764387d8097b4382ebda24

[CL 25685952 by aris theophanidis in ue5-main branch]
2023-05-30 15:51:51 -04:00
kirill zorin
de8db5ff76 Converting ARO-facing raw pointers to TObjectPtr ahead of raw pointer ARO API deprecation.
#rb zousar.shaker
#rb markus.breyer
#rb robert.manuszewski

#preflight 646391406b1406b54ab15460

[CL 25489627 by kirill zorin in ue5-main branch]
2023-05-16 10:52:49 -04:00
aris theophanidis
baac550c36 Bump the priority of dirty tiles near invokers when using sorting by invokers priority.
#rb Yoan.StAmant
#rb Maxime.Mercier
#preflight 645d5428cf788a2558f97d75

[CL 25440013 by aris theophanidis in ue5-main branch]
2023-05-11 20:49:39 -04:00
aris theophanidis
e6e1bbb3ba [Navmesh] Addition of invoker priorities
#rb Mikko.Mononen
#preflight 645951366534a4f504d98f0d

[CL 25382949 by aris theophanidis in ue5-main branch]
2023-05-08 22:04:12 -04:00
stephen holmes
59e7bb912b Navlink / offmeshconnection Ids are now based on a deterministic 64 bit city hash rather than a 32 bit incremental ID.
#jira UE-139061
[REVIEW] Yoan.StAmant
#preflight 645246b2743c256cd68c2b8f

#lockdown marc.audy

[CL 25333876 by stephen holmes in ue5-main branch]
2023-05-04 09:29:33 -04:00
aris theophanidis
7456e518ed Improve the "oversized dirty area" warnings to work with active tile generation (including invokers).
This changes fixes multiple unnecessary warnings when dirty areas are not touching the active tiles.
#rb Yoan.StAmant
#preflight 644fccd9e73c4d47c3a81936

[CL 25285052 by aris theophanidis in ue5-main branch]
2023-05-01 12:12:46 -04:00
olivier lamothe
9f2574b15e Remove unnecessary calls to UNavigationSystemV1::GetMutableOctree accessor
#rb [at]Mieszko.Zielinski,[at]Yoan.St-Amant
#rnx

[CL 25085388 by olivier lamothe in ue5-main branch]
2023-04-18 09:46:23 -04:00
aris theophanidis
bd0e95100b Build fix for 'Resolution': unknown override specifier
#rb trivial
#rnx
#preflight skip

[CL 25018888 by aris theophanidis in ue5-main branch]
2023-04-12 19:26:46 -04:00
aris theophanidis
566bd24ce3 Addition of AgentMaxStepHeight into FNavMeshResolutionParam
#rb Yoan.StAmant
#preflight 6436d6740c19befb6c93d674

[CL 25018392 by aris theophanidis in ue5-main branch]
2023-04-12 19:07:51 -04:00
aris theophanidis
bdfd5ba63e Integrate CL 23032335 from UE5Main
Navigation display improvements
Addition of tile building statistics
Addition of partitioning type, navdata count and triangle count
Addition of profile tags in the tile generation
#rb Mieszko.Zielinski
#preflight 636a92b7dc30a4ce96a8b738

[CL 24884451 by aris theophanidis in ue5-main branch]
2023-04-01 02:37:52 -04:00
aris theophanidis
4741e55aaa Fix navmesh resolution issue when using LazyModifiersGathering by reading the resolution after GatherNavigationDataGeometry.
Addition of logs when preparing and gathering geometry.
#rb Yoan.StAmant
#preflight 641db57ec42c7fd1cbb8f632

[CL 24783336 by aris theophanidis in ue5-main branch]
2023-03-24 14:04:43 -04:00