Commit Graph

93 Commits

Author SHA1 Message Date
aris theophanidis
787de6ac2f Remove usage of CoreMinimal.h from navigation modules
Removed few other includes as well
#rb Yoan.StAmant

[CL 30692362 by aris theophanidis in ue5-main branch]
2024-01-18 14:35:13 -05:00
aris theophanidis
1b845cc9c3 Improvements in navigation includes
Removing Actor.h from NavigationTypes.h
Removing NavigationQueryFilter.h when unnecessary in headers
And additional non-unity build fixes
#rb Maxime.Mercier

[CL 30621909 by aris theophanidis in ue5-main branch]
2024-01-15 13:31:49 -05:00
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
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
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
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
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
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
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
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
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
8609b7ea39 [Navmesh] CSV profiler: addition of task count and task wait time per layer
#rb Yoan.StAmant
#preflight 6410acfc290c6e5d7707ffa1

[CL 24643683 by aris theophanidis in ue5-main branch]
2023-03-14 16:39:38 -04:00
jeanmichel dignard
c7be2b7fbd FExec: Converted Engine Exec overrides to Exec_Runtime/Exec_Dev where:
- No additional routing was being done in Exec.
- No default parameter was being provided through the Exec override.

This is so we can turn off Exec overrides in certain configurations.

#rb none
#preflight 63f3fc331d71bcd26256868e

[CL 24343558 by jeanmichel dignard in ue5-main branch]
2023-02-21 13:09:41 -05:00
mieszko zielinski
ec52f1082c Cut out all AI-related UE_DEPRECATED(4.x) code
#preflight 63ede8f3e92f139c513f0cef

[CL 24256631 by mieszko zielinski in ue5-main branch]
2023-02-16 08:31:16 -05:00
Aris Theophanidis
ebb04f691c Change navigation geometry export warning to be based on triangle count and avoid repeating the warning.
#jira none
#rb Mieszko.Zielinski
#preflight 63c02e9e9b13f8369bfd4222

[CL 23664010 by Aris Theophanidis in ue5-main branch]
2023-01-12 11:13:02 -05:00
frederic doll
8b4e25d20f Add NavAgent selector in NavInvoker system : it allows to define areas where the navmesh should be generated for specific agents, not necessarily for all of them
#rb mieszko.zielinski, aris.theophanidis
#preflight 63bf05026729b05ec966f890

[CL 23658495 by frederic doll in ue5-main branch]
2023-01-11 20:55:27 -05:00
frederic doll
cebab6253b Extract method that forward information to NavData and NavGenerator when we activate NavInvoker usage
#rb olivier.lamothe
#preflight 63992d3ec16855964ddb3527

[CL 23514271 by frederic doll in ue5-main branch]
2022-12-14 13:17:25 -05:00
Aris Theophanidis
5bd6e852c2 Reduce include dependencies for NavigationTypes.h
#jira none
#rb Yoan.StAmant
#preflight 63935afc5c5308d18c2e897d

[CL 23464476 by Aris Theophanidis in ue5-main branch]
2022-12-09 11:35:01 -05:00
Stephen Holmes
be96784816 More conversion warnings fixes
#jira UE-166285
#preflight 636d16603852f8738a1d4775
#review-23055159

[CL 23079248 by Stephen Holmes in ue5-main branch]
2022-11-10 10:40:09 -05:00