Commit Graph

153 Commits

Author SHA1 Message Date
aris theophanidis
0a00ff499f Addition of a boolean to track if a navmesh has been loaded without it's tiles and update the display so it shows as needs to be rebuilt.
Addition of a "Navmesh needs to be rebuilt" message to the navigation display since the stat display is not always enabled.
#jira UE-222796
#rb Yoan.StAmant

[CL 36753292 by aris theophanidis in 5.5 branch]
2024-10-01 18:49:25 -04:00
frederic doll
5c62833136 Fix crash in RecastNamesh::GetPolysInBox
#rb Aris.Theophanidis

[CL 36402016 by frederic doll in 5.5 branch]
2024-09-18 14:33:45 -04:00
Ryan Hummer
4af2fd066d Updating Dev-Release-5.5 from Main at CL #36144969
#okforversepublic

[CL 36146571 by Ryan Hummer in Dev-5.5 branch]
2024-09-10 10:26:02 -04:00
frederic doll
05846d0ef7 Change RecastNavmesh modifier sorting to make sure modifiers that replace a nav area are processed at the end
#rb Aris.Theophanidis

[CL 35981514 by frederic doll in ue5-main branch]
2024-09-03 16:52:26 -04:00
aris theophanidis
b6070aa0ff Fix crash in ARecastNavMesh::FindEdges when RecastNavMeshImpl is not valid anymore.
#rb Yoan.StAmant

[CL 35973383 by aris theophanidis in ue5-main branch]
2024-09-03 13:52:07 -04:00
yuriy odonnell
84307e8d12 Use FTransactionallySafeScopeLock for ANavigationData::ActivePathsLock
#rb michael.nicolella

[CL 35816801 by yuriy odonnell in ue5-main branch]
2024-08-26 20:11:42 -04:00
aris theophanidis
3969d6aa7a [NavInvokers] Use a map instead of an array to avoid high cost as invoker usage scale up.
#rb jacob.wang, Yoan.StAmant

[CL 35531197 by aris theophanidis in ue5-main branch]
2024-08-14 08:53:33 -04:00
yoan stamant
3ee85d0283 [NavigationSystem] updating API and various part of the navigation framework to support registration of non UObject elements.
- Added FNavigationRelevantElement as the main structure used to provide required information. The struct is meant to remove the dependencies on INavRelevantInterface and UObject. It currently provides constructors dedicated to handle current components and other UObjects implementing the interface.

#rb Aris.Theophanidis

[CL 35531152 by yoan stamant in ue5-main branch]
2024-08-14 08:49:00 -04:00
aris theophanidis
e53609bb06 [NavMesh] Bring back wrongly removed GetDebugGeometryForTile from CL 34671788
[FYI] Yoan.StAmant
#rb Maxime.Mercier

[CL 35463225 by aris theophanidis in ue5-main branch]
2024-08-12 15:23:47 -04:00
frederic doll
b9ae65954d Change NavigationData::Raycast signature to know if the ray end is located on the ray corridor
#rb Aris.Theophanidis

[CL 35438869 by frederic doll in ue5-main branch]
2024-08-09 18:41:09 -04:00
aris theophanidis
dda77f3750 [NavMesh] Add ensure for TileSize != 0 and for the range of the tile coordinates
#rb Patrick.Boutot

[CL 35402243 by aris theophanidis in ue5-main branch]
2024-08-08 14:11:15 -04:00
aris theophanidis
f71ad9ffe5 Fix IntCastChecked assert caused by invalid location, tiny tiles or giant invoker radius.
#rb Yoan.StAmant

[CL 35386317 by aris theophanidis in ue5-main branch]
2024-08-07 19:29:36 -04:00
aris theophanidis
dda9c19ff8 Remove deprecated FRecastNavMeshGenerationProperties
#rb sigurdur.gunnarsson

[CL 35274089 by aris theophanidis in ue5-main branch]
2024-08-02 10:39:40 -04:00
aris theophanidis
dfea5c88cc [NavMesh] Fix crash occuring when undoing removal of ARecastNavmesh
#jira UE-217717
#rb Yoan.StAmant

[CL 35227628 by aris theophanidis in ue5-main branch]
2024-07-31 17:06:50 -04:00
aris theophanidis
06ab9e4016 Remove experimental FNavLinkGenerationJumpOverConfig for now
#rb Yoan.StAmant
#jira UE-213923
#rnx

[CL 35115938 by aris theophanidis in ue5-main branch]
2024-07-26 14:49:18 -04:00
jswigart
4631a21735 PR #12062: exposed GetPolyWallSegments to game code via ARecastNavMesh
#jira UE-219128
#rb Yoan.StAmant

[CL 35016719 by jswigart in ue5-main branch]
2024-07-23 09:12:02 -04:00
aris theophanidis
da1f628c5c [Navmesh] Avoid registering link proxy with invalid id.
#rb Yoan.StAmant
#jira UE-213923

[CL 34908052 by aris theophanidis in ue5-main branch]
2024-07-18 14:12:57 -04:00
aris theophanidis
e098b1ed17 Fix new LinkProxy ensure occurring when changing properties on ARecastNavmesh
#rb Yoan.StAmant
#rnx
#jira UE-213923

[CL 34853031 by aris theophanidis in ue5-main branch]
2024-07-16 16:28:45 -04:00
aris theophanidis
9d914b08c0 [NavLink Generation] Allow generated navlinks to be discovered and handled by pathfollow in a similar way to custom links.
Addition of UGeneratedNavLinksProxy class
Addition of properties to FNavLinkGenerationJumpDownConfig to configure the link handler

#rb Mieszko.Zielinski
#jira UE-213923

[CL 34843997 by aris theophanidis in ue5-main branch]
2024-07-16 12:28:09 -04:00
yoan stamant
0e9a8ffdb7 [Navigation] Restored deprecated properties that shouldn't have been removed in recent cleanup.
#jira UE-218959
#rb Maxime.Mercier

[CL 34739592 by yoan stamant in ue5-main branch]
2024-06-28 11:11:16 -04:00
yoan stamant
05babfc50a [NavigationSystem] deprecated methods/properties cleanup
#rb Mieszko.Zielinski

[CL 34671795 by yoan stamant in ue5-main branch]
2024-06-26 07:24:40 -04:00
aris theophanidis
e7a03b8a83 Navlink generation improvements
Trim source edge tips to account for edges overlapping rasterization borders
Fix some links not connecting to navmesh because they where generated to high
Fix to the 'jump over starting distance'
Addition of descriptions to jump config properties
Small improvements to ARecastNavMesh::PostEditChangeChainProperty
#jira UE-213923
#rb Yoan.StAmant

[CL 34476916 by aris theophanidis in ue5-main branch]
2024-06-18 16:28:54 -04:00
jerad dunn
e35d4256be Adding a public function to ARecastNavMesh to allow users to directly grab all exterior navmesh edges from a provided tile. Includes renaming/deprecating the PImpl version of this function.
[REVIEW] [at]Aris.Theophanidis [at]Mieszko.Zielinski
#rb Aris.Theophanidis

[CL 34311669 by jerad dunn in ue5-main branch]
2024-06-12 12:20:47 -04:00
aris theophanidis
bfb7c3e854 Navlink generation improvements
Ignore portal edges when looking for jumps
Added the filtering distance threshold to the link builder configuration
Improved link width computation
Improved filtering of overlapping links
Disable asymetric border sizes for now (using it can result in missing links)
Remove the extra 3 voxels on borders for link generation
Keep source edge on links for debug purposes
Add display of heightfield layers to the tile debug display
Added option to draw filtered links
Rebuild navmesh when navlink generation configuration changes
#rb Mieszko.Zielinski
#jira UE-213923

[CL 34296705 by aris theophanidis in ue5-main branch]
2024-06-11 20:08:54 -04:00
jerad dunn
2ace977614 - Deprecating a handful of navigation functions that used raw tile indices. Instead they are replaced with versions that use safe FNavTileRefs
- Converting over current uses of the freshly-deprecated functions to work with FNavTileRefs
- Adding a new function to ARecastNavMesh in order to retrieve FNavTileRefs for all currently-active tiles in the mesh
- Providing a GetTypeHash implementation for FNavTileRefs so they can be used in certain container types

[REVIEW] [at]Aris.Theophanidis [at]Mieszko.Zielinski
#rb Aris.Theophanidis

[CL 34135347 by jerad dunn in ue5-main branch]
2024-06-05 15:11:10 -04:00