Commit Graph

155 Commits

Author SHA1 Message Date
aris theophanidis
746aa8b6e2 [Navmesh] Fix low height span filtering during navmesh generation
This fixes a case of missing navmesh under a giant mushroom
#rb Mikko.Mononen
#rb Frederic.Doll
#preflight 6294c42712153e8cebf9f12a

#ROBOMERGE-AUTHOR: aris.theophanidis
#ROBOMERGE-SOURCE: CL 20430963 via CL 20430966 via CL 20430972
#ROBOMERGE-BOT: UE5 (Release-Engine-Staging -> Main) (v949-20362246)

[CL 20431400 by aris theophanidis in ue5-main branch]
2022-05-30 11:44:28 -04:00
frederic doll
71c605d9e1 Fix RandomPoly crash with 2 points poly :
- add asserts in dtRandomPointInConvexPoly to detect problematic cases
- add special case for point to point links in dtNavMeshQuery::findRandomPointInPoly

#rb guillaume.guay, aris.thoephanidis

#ROBOMERGE-AUTHOR: frederic.doll
#ROBOMERGE-SOURCE: CL 20167439 via CL 20168810 via CL 20169116 via CL 20170041 via CL 20170327
#ROBOMERGE-BOT: UE5 (Release-Engine-Staging -> Main) (v943-19904690)

[CL 20172504 by frederic doll in ue5-main branch]
2022-05-12 17:49:32 -04:00
aris theophanidis
894a53f75a [Navmesh] Update dtClosestHeightPointTriangle() to check denominator (plus bonus optimization and improved precision)
#rb Mikko.Mononen
#preflight 62617a0fd929bc34a3e29f60

#ROBOMERGE-AUTHOR: aris.theophanidis
#ROBOMERGE-SOURCE: CL 19851644 via CL 19858046 via CL 19863504 via CL 19863609
#ROBOMERGE-BOT: UE5 (Release-Engine-Staging -> Main) (v940-19807014)

[CL 19871071 by aris theophanidis in ue5-main branch]
2022-04-22 15:56:24 -04:00
Stephen Holmes
70dca410ee Fix for dtOffMeshSegmentConnection::height is never serialized. It turns out this variable is never used and the whole off mesh segment connection feature is unsuported and has known issues that were never solved at the conceptual level.
I've added comments to make it clearer this feature is unsupported and removed the height variable that isn't used to simplify and tidy up the existing code.

#jira UE-135621
#review-19809739
#rb  Mieszko.Zielinski
#preflight 625ee03d034d8924cdcc72f1

[CL 19826653 by Stephen Holmes in ue5-main branch]
2022-04-20 03:33:40 -04:00
frederic doll
ffd235bd12 Add way to get random position inside a specified nav polygon
I need that because I do a floodfill query (with ARecastNavMesh::FindPolysAroundCircle) and then need to test positions to move in the resulting polygons

[REVIEW] aris.theophanidis, mikko.mononen

#ROBOMERGE-AUTHOR: frederic.doll
#ROBOMERGE-SOURCE: CL 19465568 via CL 19465588 via CL 19465610 via CL 19466833 via CL 19475574 via CL 19475839
#ROBOMERGE-BOT: UE5 (Release-Engine-Staging -> Main) (v935-19464907)

[CL 19476450 by frederic doll in ue5-main branch]
2022-03-23 01:26:18 -04:00
aris theophanidis
641029df84 Wrapping RawNavData pointer to help narrow a crash
(with some extra const)
#rb Maxime.Mercier
#preflight 61fc2b043b22793ca369a98d

#ROBOMERGE-AUTHOR: aris.theophanidis
#ROBOMERGE-SOURCE: CL 18852387 via CL 18852907 via CL 18853018 via CL 18854025 via CL 18854798
#ROBOMERGE-BOT: UE5 (Release-Engine-Test -> Main) (v910-18824042)

[CL 18854824 by aris theophanidis in ue5-main branch]
2022-02-03 18:11:49 -05:00
aris theophanidis
5f924d7c06 [Navmesh] Moving the initialization of dtNavMesh parameters into the init() and serializing the parameters in ARecastNavMesh.
(for safer initialization flow and fix potential mismatch between navmesh actor and serialized navmesh data)
#rb Stephen.Holmes, Mieszko.Zielinski, Frederic.Doll
#preflight 61f7f4a3114ec25fe09cf120

#ROBOMERGE-AUTHOR: aris.theophanidis
#ROBOMERGE-SOURCE: CL 18790349 via CL 18790766 via CL 18791060 via CL 18791564 via CL 18791967
#ROBOMERGE-BOT: UE5 (Release-Engine-Test -> Main) (v908-18788545)

[CL 18792194 by aris theophanidis in ue5-main branch]
2022-01-31 12:29:15 -05:00
Andrew Davidson
4a3e582384 LWC: Remove UE_LARGE_WORLD_COORDINATES_DISABLED toggle
#rb stephen.holmes
[FYI] zak.middleton
#preflight 61f7d18b114ec25fe09648d6

#ROBOMERGE-OWNER: Andrew.Davidson
#ROBOMERGE-AUTHOR: andrew.davidson
#ROBOMERGE-SOURCE: CL 18788533 in //UE5/Release-5.0/... via CL 18788583 via CL 18788850
#ROBOMERGE-BOT: UE5 (Release-Engine-Test -> Main) (v908-18788545)
#ROBOMERGE-CONFLICT from-shelf
#preflight 61f7eb7a114ec25fe0990f8c

[CL 18789644 by Andrew Davidson in ue5-main branch]
2022-01-31 10:10:51 -05:00
stephen holmes
b96646319e Fix for broken nav mesh links after UE5 integrate. Submitting for Frederic Doll.
#rb Frederic.Doll, Stephen.Holmes, Aris.Theophanidis
#preflight 61f265a1706ac5ea0cf479b8

#ROBOMERGE-AUTHOR: stephen.holmes
#ROBOMERGE-SOURCE: CL 18752174 via CL 18752190 via CL 18752201 via CL 18752320 via CL 18752399
#ROBOMERGE-BOT: UE5 (Release-Engine-Test -> Main) (v903-18687472)

[CL 18752407 by stephen holmes in ue5-main branch]
2022-01-27 07:31:13 -05:00
stephen holmes
e50f3afb72 Recast Memory Optimizations
#rb Aris.Theophanidis, Mikko.Mononen
#preflight 61dffc545c17cc8daba9ccd7

#ROBOMERGE-AUTHOR: stephen.holmes
#ROBOMERGE-SOURCE: CL 18595413 in //UE5/Release-5.0/... via CL 18595426 via CL 18595434
#ROBOMERGE-BOT: STARSHIP (Release-Engine-Test -> Main) (v899-18417669)

[CL 18596691 by stephen holmes in ue5-main branch]
2022-01-13 10:09:07 -05:00
stephen holmes
958f8a9d70 [Backout] - CL18404146
[FYI] Stephen.Holmes
Original CL Desc
-----------------------------------------------------------------
Memory optimizations for Recast (Detour). I used UE_LOG in recast as it's already there. Also I only added [at]UE BEGIN [at]UE END for the big stuff as a hint that its been changed in case of issues.

#ROBOMERGE-AUTHOR: stephen.holmes
#ROBOMERGE-SOURCE: CL 18417786 in //UE5/Release-5.0/... via CL 18417810
#ROBOMERGE-BOT: STARSHIP (Release-Engine-Staging -> Release-Engine-Test) (v897-18405271)

[CL 18417812 by stephen holmes in ue5-release-engine-test branch]
2021-12-09 07:11:32 -05:00
stephen holmes
d81cea02c3 Memory optimizations for Recast (Detour). I used UE_LOG in recast as it's already there. Also I only added [at]UE BEGIN [at]UE END for the big stuff as a hint that its been changed in case of issues.
[at]Aris.Theophanidis, [at]Mikko.Mononen
#preflight 61b0706418370fb3a0e6da2c

#ROBOMERGE-AUTHOR: stephen.holmes
#ROBOMERGE-SOURCE: CL 18404146 in //UE5/Release-5.0/... via CL 18404149
#ROBOMERGE-BOT: STARSHIP (Release-Engine-Staging -> Release-Engine-Test) (v896-18170469)

[CL 18404152 by stephen holmes in ue5-release-engine-test branch]
2021-12-08 04:50:39 -05:00
Marc Audy
0c3be2b6ad Merge Release-Engine-Staging to Test @ CL# 18240298
[CL 18241953 by Marc Audy in ue5-release-engine-test branch]
2021-11-18 14:37:34 -05:00
aurel cordonnier
fc542f6cfd Merge from Release-Engine-Staging @ 18081189 to Release-Engine-Test
This represents UE4/Main @18073326, Release-5.0 @18081140 and Dev-PerfTest @18045971

[CL 18081471 by aurel cordonnier in ue5-release-engine-test branch]
2021-11-07 23:43:01 -05:00
aris theophanidis
bb0d62981c [Navmesh] When building using chunky region partitioning, include remaining non dividable cells into the last split.
This prevents having one cell wide region strips and one cell regions and the 'Region Chunk Splits' setting is now correctly respected.
Before this change, a region split on 2 could result into 3 splits (ex: a 17 cells wide tile would have been divided into 8-8-1 splits, with this change it will be 8-9).
#rb Mikko.Mononen
#jira FORT-420970
#preflight 6179bae1d65ac900014a5a83

#ROBOMERGE-AUTHOR: aris.theophanidis
#ROBOMERGE-COMMAND: FnMain
#ROBOMERGE-SOURCE: CL 17952948 in //UE5/Main/...
#ROBOMERGE-BOT: STARSHIP (Main -> Release-Engine-Test) (v885-17909292)
#ROBOMERGE[STARSHIP]: UE5-Release-Engine-Staging Release-5.0
#ROBOMERGE[bot1]: Main

[CL 17953014 by aris theophanidis in ue5-release-engine-test branch]
2021-10-27 18:03:54 -04:00
aris theophanidis
a54d8a348a [Navmesh] Allow unconnected single cells to build contours
#rb Mikko.Mononen
#jira FORT-420970
#preflight 61799177578c0c00012bcc73

#ROBOMERGE-AUTHOR: aris.theophanidis
#ROBOMERGE-COMMAND: FnMain
#ROBOMERGE-SOURCE: CL 17949121 in //UE5/Main/...
#ROBOMERGE-BOT: STARSHIP (Main -> Release-Engine-Test) (v885-17909292)
#ROBOMERGE[STARSHIP]: UE5-Release-Engine-Staging Release-5.0
#ROBOMERGE[bot1]: Main

[CL 17949781 by aris theophanidis in ue5-release-engine-test branch]
2021-10-27 15:21:19 -04:00
aurel cordonnier
a6e741e007 Merge from Release-Engine-Staging @ 17915896 to Release-Engine-Test
This represents UE4/Main @17911760, Release-5.0 @17915875 and Dev-PerfTest @17914035

[CL 17918595 by aurel cordonnier in ue5-release-engine-test branch]
2021-10-25 20:05:28 -04:00
Marc Audy
e80ea6b959 Merge from Release-Engine-Staging @ 16444985
This represents UE4/Main @ 16445039 and Dev-PerfTest @ 16444526

[CL 16445122 by Marc Audy in ue5-release-engine-test branch]
2021-05-25 02:43:26 -04:00
mieszko zielinski
b119dd3171 Updated occurences of "UE4" in Navmesh module's comments
#jira UE-111542
#jira UE-111468
#jira UE-111452
#jira UE-111445
#jira UE-111444
#jira UE-111442
#jira UE-111440
#jira UE-111437
#jira UE-111434
#jira UE-111432
#jira UE-111423
#jira UE-111306
#jira UE-111298
#jira UE-111294
#jira UE-111266
#jira UE-111262
#jira UE-111258
#jira UE-111255
#jira UE-111250
#jira UE-111247
#jira UE-111239
#jira UE-111232
#jira UE-111217
#jira UE-111129
#jira UE-111174
#jira UE-111146

#rb none, only comments have been touched

#ROBOMERGE-SOURCE: CL 15872915 in //UE5/Release-5.0-EarlyAccess/...
#ROBOMERGE-BOT: STARSHIP (Release-5.0-EarlyAccess -> Main) (v786-15839533)

[CL 15872923 by mieszko zielinski in ue5-main branch]
2021-03-31 06:38:02 -04:00
Marc Audy
9753392e2b Merge UE5/RES CL# 15462083 to UE5/Main
This represents UE4/Main @ 15414221

[CL 15463811 by Marc Audy in ue5-main branch]
2021-02-18 18:13:28 -04:00
Tim Smith
d193b70a3b Fixing PVS 7.7 Issues:
warning V781: The value of the 'XYZ' index is checked after it was used. Perhaps there is a mistake in program logic.

#rb trivial
#jira UE-91644

[CL 15066377 by Tim Smith in ue5-main branch]
2021-01-13 09:08:55 -04:00
Marc Audy
bf80889353 UE5/Release-Engine-Staging to UE5/Main
This represents UE4/Main up to CL# 14958402

[CL 15028197 by Marc Audy in ue5-main branch]
2021-01-08 19:56:07 -04:00
Marc Audy
68150e0be7 Merge UE5/Release-Engine-Staging to UE5/Main @ 14611496
This represents UE4/Main @ 14594913

[CL 14612291 by Marc Audy in ue5-main branch]
2020-10-29 13:38:15 -04:00
Arciel Rekman
3107db8c5f Remove unused fields - AI
#rb Mieszko.Zielinski, Mikko.Mononen
#review-14242486 @Mieszko.Zielinski
#jira none

[CL 14244678 by Arciel Rekman in ue5-main branch]
2020-09-02 10:46:19 -04:00
Marc Audy
7379fa99c5 Merging //UE5/Release-Engine-Staging to Main (//UE5/Main) @ 14229157
[CL 14233282 by Marc Audy in ue5-main branch]
2020-09-01 14:07:48 -04:00