Commit Graph

292 Commits

Author SHA1 Message Date
aris theophanidis
916eacf5b3 Addition of the average tile generation count per second in LogNavigationHistory.
#rb Stephen.Holmes

[CL 28090737 by aris theophanidis in ue5-main branch]
2023-09-21 12:41:35 -04:00
aris theophanidis
92bc25a04c Ignore dirty areas originating from building actors spawned from instance actors (navmesh is expected to be already up to date from the instance actor being replaced).
#rb Yoan.StAmant

[CL 28064641 by aris theophanidis in ue5-main branch]
2023-09-20 19:09:55 -04:00
stephen holmes
bada563480 Fix for frequent check() in FRcTileBox due to invalid FBox bounds. This code should stop the issue being fatal and handle the bad case reasonably.
[CL 27912057 by stephen holmes in ue5-main branch]
2023-09-15 08:11:55 -04:00
yoan stamant
b9b27e456f Fixed unimplemented virtual functions when WITH_RECAST is disabled
#jira UE-195153
#rb aris.theophanidis
#rb mikko.mononen
#rnx

[CL 27876498 by yoan stamant in ue5-main branch]
2023-09-14 09:28:58 -04:00
panos grigoropoulos
61749458fb Add camera location to invoker seed locations when the pawn is null so nav mesh is not removed in cases where the player camera is near the invoker but the player pawn has been destroyed.
[CL 27829426 by panos grigoropoulos in ue5-main branch]
2023-09-13 09:59:02 -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
stephen holmes
a68ea9d01f added more debug info to help track down cause of conversion bugs
[REVIEW]

[CL 27717387 by stephen holmes in ue5-main branch]
2023-09-08 13:15:26 -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
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
aris theophanidis
dcdd05e34a Addition of InvokersMaximumDistanceFromSeed allowing to restrict invokers updating far from seed points (player positions by default).
#rb Yoan.StAmant

[CL 26645687 by aris theophanidis in ue5-main branch]
2023-07-27 13:08:25 -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
henrik karlsson
5db685f97d [Engine]
* Moved dllexport from type to methods/staticvar in all Engine runtime code. This improves compile times, memory and performance in dll builds

[CL 26082269 by henrik karlsson in ue5-main branch]
2023-06-17 18:13:06 -04:00
henrik karlsson
b8482b44dd [Engine]
* Changed type dllexport to method/staticvar dll export. Various changes for code that upgrade script get wrong

[CL 26082043 by henrik karlsson in ue5-main branch]
2023-06-17 16:57:38 -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
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
6fd3e1d9e3 Fix memory leak in FNavigationOctreeElement operator= and added move operators.
#rb Mieszko.Zielinski
#rb Yoan.StAmant
#preflight 645e8aba2965f6ea8e0c0267

[CL 25460732 by aris theophanidis in ue5-main branch]
2023-05-12 17:48:32 -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
stephen holmes
786295dcb5 NavLinkId deprecation moved to 5.3 from 5.4
[REVIEW] trivial
#preflight 645b550c4c3ec54e6eaafa30

[CL 25401802 by stephen holmes in ue5-main branch]
2023-05-10 06:54:14 -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
aris theophanidis
e5b3f9c3c5 Support GeometryCollection in UNavModifierComponent
Before this change, a UNavModifierComponent on a geometry collection would not find the physic from the proxy mesh and fallback on an arbitrary "FailsafeExtent".
#rb Mieszko.Zielinski
#rb Mikko.Mononen
#preflight 6446aa3adc71c13446e93969

[CL 25175157 by aris theophanidis in ue5-main branch]
2023-04-24 23:06:03 -04:00