Commit Graph

160 Commits

Author SHA1 Message Date
frederic doll
e5ec641dc9 Add a way to register a Navigation Invoker based on UObject with a INavigationInvokerInterface instead of an AActor.
#rb Aris.Theophanidis

[CL 29887626 by frederic doll in ue5-main branch]
2023-11-22 09:29:32 -05:00
aris theophanidis
b804c74a54 Addition of NavigationBuildDetailed CSV profile tags in the NavigationSystem tick.
#rb Yoan.StAmant

[CL 29496678 by aris theophanidis in ue5-main branch]
2023-11-06 14:57:31 -05:00
aris theophanidis
84e7e976c1 [Navigation] Optimization to RemoveTiles and addition of profile tags to UpdateActiveTiles()
#rb Yoan.StAmant

[CL 29252623 by aris theophanidis in ue5-main branch]
2023-10-30 17:51:48 -04:00
yoan stamant
7a102e17b3 [Navigation]
- Added flag in FNavigationRelevantData to indicates elements that want to skip dirty areas when added/removed from the NavigationOctree.
- Method ShouldSkipDirtyAreaOnAddOrRemove has been added to INavRelevantInterface to control the flag.
- UpdateNavOctreeElementBounds now takes a list of dirty areas instead of a single area to allow batched modifications.

UInstancedStaticMeshComponent updates:
- Added a cache for navigation bounds
- Implements ShouldSkipDirtyAreaOnAddOrRemove so we don't dirty the whole area covered by the instances on registration but only a list of explicit areas using the instances.
- Added PartialNavigationUpdates for batched modifications
- Fixed partial update not sending the right area for the original position
#rb aris.theophanidis
#rb mikko.mononen
#rb mieszko.zielinski
#jira UE-195210#preflight 653bd451cc4d2d32203134e5

[CL 29185555 by yoan stamant in ue5-main branch]
2023-10-27 12:18:00 -04:00
aris theophanidis
14c8876b52 [Navigation] When updating invokers, use 3D invoker seed locations to compare against the maximum seed distance.
Update InvokersSeedBounds with the vertical limits as well.
#rb Mikko.Mononen

[CL 29067434 by aris theophanidis in ue5-main branch]
2023-10-25 00:57:52 -04:00
aris theophanidis
c4aa198bfe [Navmesh] Fix navmesh not updating below 0 when using invoker's seeds
#rb Julien.Marchand

[CL 29036377 by aris theophanidis in ue5-main branch]
2023-10-24 03:45:00 -04:00
nicolas bonnelly
3b57ef47c7 Added extra logs when Navigation DirtyAreas are being reset.
[REVIEW] [at]Aris.Theophanidis

[CL 28756802 by nicolas bonnelly in ue5-main branch]
2023-10-13 12:23:19 -04:00
aris theophanidis
21338c8d1d Fix "Looking for NavData using invalid FNavAgentProperties." warning spam.
#rb Yoan.StAmant

[CL 28554625 by aris theophanidis in ue5-main branch]
2023-10-06 15:59:20 -04:00
yoan stamant
fbd2795523 [Navigation] use virtual method 'GetWorld' instead of 'GetTypedOuter' for navrelevant object registration.
#rb aris.theophanidis

[CL 28425304 by yoan stamant in ue5-main branch]
2023-10-03 14:56:34 -04:00
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
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
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
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
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
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
61d1ad8ca6 Fix editor performance issue caused by navigation building even if there is nowhere to build navigation.
The fix expect that there should be no difference in simulation mode.
#rb Mieszko.Zielinski

[CL 25896709 by aris theophanidis in ue5-main branch]
2023-06-09 12:35:32 -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
stephen holmes
5a3e33d985 Fix for static analysis warning.
#preflight 645b5b1c4c3ec54e6eadb2aa
[REVIEW] trivial

[CL 25402366 by stephen holmes in ue5-main branch]
2023-05-10 08:01:51 -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