Commit Graph

457 Commits

Author SHA1 Message Date
Aris Theophanidis
a173b410ad [Navmesh] Optimization: remove unnecessary extra agent radius tile expansion when computing tile bounds.
This avoids unnecessary collision gathering as well a preventing unnecessary tile dirtiness.
Also resolves issue in Z where an NavModifierVolume would incorrectly dirty a tile below itself if within agent radius.
Addition of n.UseTightBoundExpansion console command to revert back to previous behavior as a fallback precaution.
#jira UE-127165
#rb Mikko.Mononen
#fyi Frederic.Doll
#fyi Guillaume.Guay
#preflight 6377b9d3f514e1ded9ba198b

[CL 23197691 by Aris Theophanidis in ue5-main branch]
2022-11-18 12:23:09 -05:00
frederic doll
b751da2b37 Avoid bounds fully included in the Max tile computation for navmesh generation
#rb aris.theophanidis
#preflight 6376aedd815e4b9b750f3739

[CL 23190993 by frederic doll in ue5-main branch]
2022-11-18 03:12:23 -05:00
frederic doll
dcc751ad73 add more debug logs when building tiles
#preflight 6375017e32484253057b7407
#rb luciano.ferraro

[CL 23160112 by frederic doll in ue5-main branch]
2022-11-16 15:00:33 -05:00
henrik karlsson
5b96352978 Fixes for c++ headerunits/modules.
* Adding forward declarations
* Adding "inline" in front of const/constexpr variables in headers
* Adding includes
* A few moves of ctor/dtor to cpp file

#preflight 6372b3ac0c74adb48b49f313
#rb none

[CL 23130896 by henrik karlsson in ue5-main branch]
2022-11-14 19:59:41 -05:00
aris theophanidis
bd8479f298 Fix misleading local variable name.
#jira none
#rb trivial
#preflight 63726f90bf76990b710a4e80

[CL 23119646 by aris theophanidis in ue5-main branch]
2022-11-14 11:46:30 -05:00
Aris Theophanidis
69748e483d [Navmesh] Keep the same Oodle compression in editor as in game to (avoid being slower in PIE)
#jira none
#rb Mieszko.Zielinski
#preflight 63726d07ee4d25f90acb13d2

[CL 23119391 by Aris Theophanidis in ue5-main branch]
2022-11-14 11:36:55 -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
Aris Theophanidis
0669943a67 Fix crash when playing in viewport while navmesh is visible
(with other minor fixes)
#jira UE-169559
#rb trivial
#rnx
#preflight 636aef84376a9cd6a873ab2d

[CL 23044803 by Aris Theophanidis in ue5-main branch]
2022-11-08 19:22:46 -05:00
Aris Theophanidis
3b720bc803 Navigation display improvements
Addition of tile building statistics
Addition of partitioning type, navdata count and triangle count
Addition of profile tags in the tile generation
#jira none
#rb Mieszko.Zielinski
#preflight 636a92b7dc30a4ce96a8b738

[CL 23032335 by Aris Theophanidis in ue5-main branch]
2022-11-08 13:00:51 -05:00
Aris Theophanidis
7ca89a4180 Add navmesh and navsystem informations on screen when navigation display is enabled
Add bDrawTileBuildTimes property to display last tile build time
Add bDrawTileBuildTimesHeatMap property to display the navmesh as a colored heat map of tile build time
Fix UNavMeshRenderingComponent not clearing labels when they where turned off
Allow DebugLabels to be displayed in 2D on screen
Add draw distance clipping for navmesh label rendering
Addition of profile tags in NavMeshRenderingComponent
#jira none
#rb Mieszko.Zielinski
#preflight 63640460d308b70e6607fc77
#preflight 6364089cf233f06a1266b061

[CL 22960500 by Aris Theophanidis in ue5-main branch]
2022-11-03 14:49:40 -04:00
henrik karlsson
fa90b399a4 Added includes for future change. This changelist only contains added #include and a couple of empty placeholder files
Tested compiling fortnite, unrealeditor, lyra, qagame with non-unity/pch

#preflight 63635997876630122adeab9f
#rb none

[CL 22958990 by henrik karlsson in ue5-main branch]
2022-11-03 14:18:47 -04:00
daren cheng
f6c564b03b Address multiple typos for UEFN localization
#jira UE-166004 UE-168317
#rb Robb.Surridge
#preflight 6360165b7e083afb290e187f

[CL 22889284 by daren cheng in ue5-main branch]
2022-11-01 15:30:54 -04:00
frederic doll
8a000d660b Improve navmesh generation debugging :
- add ways to see the heightfield bound (and max height)
- improve logging for components added to the NavOctree

#rb aris.theophanidis

[CL 22792849 by frederic doll in ue5-main branch]
2022-10-26 17:27:00 -04:00
frederic doll
dac9c9c8d0 Improve dirty area warning report when receiving an oversized area
#rb aris.theophanidis

[CL 22792842 by frederic doll in ue5-main branch]
2022-10-26 17:26:51 -04:00
henrik karlsson
0da5962f86 Removed lots of includes in UE based on compile profiling
#preflight 6356cb02ae33b04ec1e358ac
#rb none

[CL 22786278 by henrik karlsson in ue5-main branch]
2022-10-26 15:02:30 -04:00
henrik karlsson
b5b86c796c This change is a strategical submit for a coming change that removes lots of includes in headers that are included by many files. This change contains adding of includes in files that previously got those includes transitively from other inclkudes
#preflight 6355d4940313c24974b2107b
#rb none

[CL 22783162 by henrik karlsson in ue5-main branch]
2022-10-26 12:57:32 -04:00
Aris Theophanidis
fc0d8a0608 [Navigation] Adjust navoctree creation to fit navigable world bounds
#jira none
#rb Stephen.Holmes
#preflight 63593e23767e539ccabc238a

[CL 22779018 by Aris Theophanidis in ue5-main branch]
2022-10-26 10:16:17 -04:00
Aris Theophanidis
ae0bd8e9fa [Navmesh] In FPImplRecastNavMesh::GetNavMeshTilesIn(), use FRcTileBox to find min and max tile coordinates.
Note: At CL 21589037, FRcTileBox has been fixed to avoid including tiles that are just touching bounds borders so this applies the fix to GetNavMeshTilesIn() as well.
#rb Mieszko.Zielinski
#jira none
#preflight 634eec11864d9be23637affb

[CL 22607428 by Aris Theophanidis in ue5-main branch]
2022-10-18 14:45:15 -04:00
henrik karlsson
d14a9195f6 [FortniteGame]
* Another round of include removal

#rb none
#preflight 6349c2ac57048bdb823a8c4e

[CL 22547749 by henrik karlsson in ue5-main branch]
2022-10-15 02:09:42 -04:00
mikko mononen
b61e12b277 Nav Corridor: fix nav corridor or high cost neighbour polygons
- fixed DetourNavMeshQuery storeWallSegment() returning some segments in reverse
- fixed degenerate cases in polygon clipping
- change corridor expansion to take fixed area cost into account to not expand to hard to reach areas

#rb Mieszko.Zielinski
#preflight 6349200d3c37eed48151e71d

[CL 22539724 by mikko mononen in ue5-main branch]
2022-10-14 19:06:35 -04:00
stephen holmes
9d2ba1bcec Fix for moving Nav Modifier Volume does not cause the navmesh to update.
Issue was IsActorInitialized() never returns true in the editor world.

#rb aris.theophanidis
#jira UE-166563
#lockdown julien.marchand
#preflight 63486908ce524ed3569bae84

[CL 22514780 by stephen holmes in ue5-main branch]
2022-10-13 18:57:17 -04:00
aris theophanidis
515c53fba6 [WP Navmesh] For navmeshes supporting runtime generation, copy cache data when filling navigation data chunk actors.
#jira UE-166490
#rb Stephen.Holmes
#preflight 63402fb1b20780acc1f5c035
#lockdown Julien.Marchand

[CL 22404321 by aris theophanidis in ue5-main branch]
2022-10-07 13:38:43 -04:00
Stephen Holmes
5dfa33affb Remove commented out code only
#review-22373730
#jira none
#preflight none

[CL 22398203 by Stephen Holmes in ue5-main branch]
2022-10-07 06:31:01 -04:00
Stephen Holmes
83171ee89e Fix for UE-161611 Bots do not perform most actions around map in BR and mostly appear static.
Issue was that the nav mesh bounds were not offset which was preventing offset dynamic navmesh from generating.

#review-22328259
#preflight 633c09c2bd3c9b60f2b5bd42
#jira UE-161611

[CL 22330478 by Stephen Holmes in ue5-main branch]
2022-10-04 10:33:45 -04:00
aris theophanidis
3b3a47bb42 [Navigation] Don't display "navmesh needs to be rebuilt" on-screen editor message in partitioned world.
It's not meaningful since loading and unloading parts of the world triggers it.
#jira UE-150793
#rb Mieszko.Zielinski
#rb Mikko.Mononen
#preflight 6336f6c2b34118b9b4a6c907

[CL 22279070 by aris theophanidis in ue5-main branch]
2022-09-30 15:45:31 -04:00