Commit Graph

568 Commits

Author SHA1 Message Date
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
zach bethel
29f735f4a3 Modified scene proxy GetDynamicMeshElements calls to take a local command list instead of relying on the immediate command list and defer uniform expression cache invalidations.
- Calls to FRHICommandListImmediate::Get() replaced with Collector.GetRHICommandList()

#jira UE-194426

[CL 27813729 by zach bethel in ue5-main branch]
2023-09-12 18:32:22 -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
yoan stamant
a8a79b49b0 [Navigation]
- Added console command "ai.debug.nav.DrawDistance" to tweak navmesh draw distance at runtime.
- Added labels indicating the number of elements in each node if octree details are enabled.
#rb aris.theophanidis

[CL 27458247 by yoan stamant in ue5-main branch]
2023-08-29 14:40:34 -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
yoan stamant
7416b266cd [Navigation] Fixed warning log caused by NavMeshBoundsVolume actors gathered before their components get registered resulting in invalid dirty areas.
#rb ben.hoffman
#rnx

[CL 27287973 by yoan stamant in ue5-main branch]
2023-08-22 17:18:51 -04:00
aris theophanidis
53ed7c1062 Log invoker priority as string instead of the enum value
#rb Yoan.StAmant

[CL 27249202 by aris theophanidis in ue5-main branch]
2023-08-21 15:03:25 -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
robert manuszewski
cfe46a88ad TObjectPtr compilation fixes ahead of enabling GC barrier
#rb trivial
[FYI] Kirill.Zorin, Johan.Torp, Zousar.Shaker

[CL 26767884 by robert manuszewski in ue5-main branch]
2023-08-02 06:51:30 -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
d83f541bad Make sure InvokersMaximumDistanceFromSeed is only active in game mode (ignore it in editor)
#rb Yoan.StAmant

[CL 26648486 by aris theophanidis in ue5-main branch]
2023-07-27 14:28:32 -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
edf70fa762 Fix LogNavigationHistory log
#rb trivial

[CL 26491540 by aris theophanidis in ue5-main branch]
2023-07-20 14:36:22 -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
yoan stamant
fe4e7f46a5 Fixed unitialized FBox in QABoxRenderComponent
#jira UE-188681
#rb maxime.mercier

[CL 26294414 by yoan stamant in ue5-main branch]
2023-06-28 14:56:42 -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