Commit Graph

647 Commits

Author SHA1 Message Date
yoan stamant
b0f704a407 [InstancedStaticMesh] Fixed partial navigation update for Editor manipulations
- added partial update on component registration/unregistration
- skip updates when adding/removing instances when component is not registered
- added list of dirty areas to pending dirty element so they could be applied when udpate info is successfully processed
- added some missing updates when not using partial updates
#rb jacob.wang, Mieszko.Zielinski
#jira UE-208246

[CL 32053062 by yoan stamant in ue5-main branch]
2024-03-06 10:13:35 -05:00
aris theophanidis
8315806359 [Navmesh] Added more information to the error message and warning messages related to the tile limits.
Added more information when reporting the error message related to the TileNumberHardLimit.
Added more information when reporting the warning message related to the tile pool size.
#rb Maxime.Mercier

[CL 31841210 by aris theophanidis in ue5-main branch]
2024-02-27 10:44:10 -05:00
jacob wang
13616d112e Fix for InstanceStaticMeshComp with odd numbers of negated scale axis won't generate navmesh correctly.
Added the missing flipping indices step where the vertices of ISMComp are converted to Recast Space.

#jira UE-161139
#rb Aris.Theophanidis, Yoan.StAmant, Maxime.Mercier

[CL 31816533 by jacob wang in ue5-main branch]
2024-02-26 16:21:27 -05:00
jacob wang
18e821f5c5 Fix for InstanceStaticMeshComp with odd numbers of negated scale axis won't generate navmesh correctly.
Added the missing flipping indices step where the vertices of ISMComp are converted to Recast Space.

#jira UE-161139
#rb Aris.Theophanidis, Yoan.StAmant, Maxime.Mercier

[CL 31815521 by jacob wang in ue5-main branch]
2024-02-26 15:49:35 -05:00
yoan stamant
9722c0198a [Navigation] Replaced custom NavLink static registration queue by a new world subsystem that will also store NavRelevantObject that are not AActor/UActorComponent based.
This change allow new NavigationSystem created after initial map load (e.g. ANavSystemConfigOverride) to properly recreate its custom nav link mappings and octree.
#rb Aris.Theophanidis, mikko.mononen, robert.seiver

[CL 31733116 by yoan stamant in ue5-main branch]
2024-02-22 15:44:43 -05:00
aris theophanidis
769fc18eb3 NavigationTestingActor: Don't reset ShowStepIndex for every request and allow to save it's value (not transient anymore).
#rb Yoan.StAmant

[CL 31646971 by aris theophanidis in ue5-main branch]
2024-02-20 11:21:49 -05:00
robert seiver
10129605df Fix case where the final segment of the spline wasn't tessellated if it's a closed loop. Also thoroughly tested edge cases such as loop/non-loops with 0, 1, and 2 points
#rb Yoan.StAmant

[CL 31626482 by robert seiver in ue5-main branch]
2024-02-19 16:52:18 -05:00
steve robb
f8d47335a4 Replaced RemoveAt(N, 1, EAllowShrinking::*) with RemoveAt(N, EAllowShrinking::*).
[CL 31626444 by steve robb in ue5-main branch]
2024-02-19 16:51:58 -05:00
robert seiver
b7de6b84e9 Move BezierUtilities into a more appropriate place: Engine/Classes/Curves. This also fixes a circular dependency created in CL 31592109 and temporarily patched in CL 31594398
#rb Yoan.StAmant

[CL 31612580 by robert seiver in ue5-main branch]
2024-02-19 11:01:37 -05:00
robert seiver
0a1cc994f3 Temporary fix to circular dependency caused by 31581755
[CL 31589284 by robert seiver in ue5-main branch]
2024-02-16 19:14:21 -05:00
robert seiver
7e81d67809 Use an existing adaptive tessellation algorithm in BezierUtilities to subdivide the spline in SplineNavModifierComponent. This algorithm adapts to the curvature of the spline so that curvier spots get broken down into more linear segments for higher fidelity
#jira UE-202492
[REVIEW] [at]Mikko.Mononen
#rb mikko.mononen, aris.theophanidis

#changelist validated
#virtualized

[CL 31581781 by robert seiver in ue5-main branch]
2024-02-16 16:54:19 -05:00
yoan stamant
0d5635a910 Removed some headers dependencies on 'FHitResult' and 'FOverlapResult'
#rb Mieszko.Zielinski

[CL 31470741 by yoan stamant in ue5-main branch]
2024-02-14 09:15:30 -05:00
alex kahn
cdfd11e33e [Backout] - CL31425693 - CIS UE Error Backout 4/4
[FYI] Yoan.StAmant
Original CL Desc
-----------------------------------------------------------------
Removed some headers dependencies on 'FHitResult' and 'FOverlapResult'
#rb Mieszko.Zielinski

[CL 31440421 by alex kahn in ue5-main branch]
2024-02-13 14:37:03 -05:00
yoan stamant
00a0c5ac5d Removed some headers dependencies on 'FHitResult' and 'FOverlapResult'
#rb Mieszko.Zielinski

[CL 31425867 by yoan stamant in ue5-main branch]
2024-02-13 09:57:09 -05:00
vincent robert
c1896a41bd Make consistent API by using GetX, SetX, GetP and SetP for physics particles
#jira UE-202397, PLAY-14685
#rb chris.caulfield, alex.mcadams, cedric.caillaud

[CL 31383921 by vincent robert in ue5-main branch]
2024-02-12 11:12:22 -05:00
aris theophanidis
33581628a2 Add custom link owner's name to link ID warning to allow identifying the problematic actor.
#rb Yoan.StAmant

[CL 31211962 by aris theophanidis in ue5-main branch]
2024-02-06 08:57:17 -05:00
aris theophanidis
4a7d13345d [Navigation] Addition of a query to ANavigationTestingActor to display if navigation data is ready (has been generated) within a given radius.
#rb Yoan.StAmant

[CL 31100921 by aris theophanidis in ue5-main branch]
2024-02-01 15:59:21 -05:00
aris theophanidis
b745b36a89 [Invokers] Avoid reserving local containers every frame.
Add a profiler tag for more precise tracking.
#rb mikko.mononen

[CL 31017782 by aris theophanidis in ue5-main branch]
2024-01-30 15:11:16 -05:00
aris theophanidis
9984d70711 OnNavigationBoundsUpdated, make a removal request if the bounds are invalid.
This avoids having invalid RegisteredNavBounds when undoing the addtion of a NavMeshBoundVolume.
#jira UE-204476
#rb Yoan.StAmant

[CL 31012256 by aris theophanidis in ue5-main branch]
2024-01-30 13:01:23 -05:00
steve robb
f43fc1d782 Fixed up more bool-taking calls to take EAllowShrinking instead.
[CL 30894388 by steve robb in ue5-main branch]
2024-01-25 14:09:12 -05:00
aris theophanidis
f9edd0ece4 Add a bIsBeingCleanedUp flag to world
#rb Patrick.Enfedaque

[CL 30890995 by aris theophanidis in ue5-main branch]
2024-01-25 12:29:10 -05:00
aris theophanidis
60d17d8b37 Prevent ANavSystemConfigOverride from using the world if it's in the process of being destroyed in PostUnregisterAllComponents (else it will try to recreated the original navsystem in the world currently being destroyed).
#rb Yoan.StAmant

[CL 30885142 by aris theophanidis in ue5-main branch]
2024-01-25 09:36:12 -05:00
aris theophanidis
2708608988 Remove world.h include from NavLinkCustomInterface.h
#rb Yoan.StAmant

[CL 30854789 by aris theophanidis in ue5-main branch]
2024-01-24 13:59:13 -05:00
aris theophanidis
0531987d09 Removing NavigationTypes.h from NavRelevantInterface.h, StaticMeshActor.h and AITypes.h
Removing NavigationSystemConfig.h and NavLinkDefinition.h from NavigationSystemTypes.h
#rb Yoan.StAmant

[CL 30808174 by aris theophanidis in ue5-main branch]
2024-01-23 12:07:01 -05:00
steve robb
104c0f2416 Fixed up more bool-taking calls to take EAllowShrinking instead.
[CL 30806200 by steve robb in ue5-main branch]
2024-01-23 11:07:28 -05:00