Commit Graph

249 Commits

Author SHA1 Message Date
stephen holmes
d46374bce0 Work to Deprecate IsNavigationBuildInProgress(bool) and IsBuildInProgress(bool). These functions behave inconsistently between different navmesh build types and were causing issues. Not only that but their default params were set opposite ways (true / false).
[at]Yoan.StAmant [at]Mieszko.Zielinski [at]Maxime.Mercier [at]David.Hamm


#ROBOMERGE-SOURCE: CL 12126550 via CL 12132795
#ROBOMERGE-BOT: (v659-12123632)

[CL 12132919 by stephen holmes in Main branch]
2020-03-11 13:01:04 -04:00
max whitehead
19b76ff6e1 Remove PhysX module when using Chaos, Guard PhysX code in PHYSICS_INTERFACE_PHYSX so Chaos compiles without it.
Change WITH_PHYSX to always be defined, even with chaos only.
Make Client/Server targets only disable PhysX when Chaos is enabled.
#rb michael.lentine


#ROBOMERGE-OWNER: max.whitehead
#ROBOMERGE-AUTHOR: max.whitehead
#ROBOMERGE-SOURCE: CL 11877480 via CL 11877967 via CL 11878038
#ROBOMERGE-BOT: (v656-11643781)

[CL 11888569 by max whitehead in Main branch]
2020-03-03 17:06:00 -05:00
stephen holmes
9545c6f32c Minor changes to previous CLfor moving tile regen time slice management logic to navigation system as suggested by Aris https://p4-swarm.epicgames.net/reviews/11589014/
#rb Aris.Theophanidis


#ROBOMERGE-SOURCE: CL 11871398 via CL 11871432
#ROBOMERGE-BOT: (v656-11643781)

[CL 11886277 by stephen holmes in Main branch]
2020-03-03 16:27:08 -05:00
peter knepley
3d4258b7c4 Fix recast not working if WITH_PHYSX is false, but WITH_CHAOS is true
#jira
[FYI] Max.Whitehead


#ROBOMERGE-SOURCE: CL 11754539 via CL 11755384 via CL 11755397
#ROBOMERGE-BOT: (v656-11643781)

[CL 11867361 by peter knepley in Main branch]
2020-03-03 10:30:46 -05:00
aris theophanidis
fff13a7e88 Resubmit 11644253 with missing include for non-unity build
Adding bMaskFillCollisionUnderneathForNavmesh option on NavModifierVolume to go along bFillCollisionUnderneathForNavmesh.
This allows navvolumes to mark a 2D areas to be ignored by the fill under feature.
[at]Mieszko.Zielinski [at]Mikko.Mononen
#jira UE-86726


#ROBOMERGE-SOURCE: CL 11650044 via CL 11650049 via CL 11650055
#ROBOMERGE-BOT: (v656-11643781)

[CL 11861821 by aris theophanidis in Main branch]
2020-03-03 08:48:03 -05:00
brandon grable
c16fec26e8 Back out changelist 11644253
[FYI] Aris.Theophanidis


#ROBOMERGE-SOURCE: CL 11645547 via CL 11645548 via CL 11645552
#ROBOMERGE-BOT: (v656-11643781)

[CL 11837531 by brandon grable in Main branch]
2020-03-02 13:50:21 -05:00
aris theophanidis
66f8eeaf19 Addition bMaskFillCollisionUnderneathForNavmesh option on NavModifierVolume to go along bFillCollisionUnderneathForNavmesh.
This allows navvolumes to mark a 2D areas to be ignored by the fill under feature.
[REVIEW] [at]Mieszko.Zielinski [at]Mikko.Mononen
#jira UE-86726


#ROBOMERGE-SOURCE: CL 11644253 via CL 11644264 via CL 11644271
#ROBOMERGE-BOT: (v656-11643781)

[CL 11836158 by aris theophanidis in Main branch]
2020-03-02 13:42:26 -05:00
stephen holmes
a924f5faa1 Work to properly account for time slicing accross multiple generators. The time slicing is now calculated in the navigation system.
The general idea here is to tick any non time sliced generators once per frame. Time sliced generators we aim to tick one per frame and move to the next, next frame.

In the case where one time sliced generator doesn't use the whole time slice we move to the next time sliced generator. That generator will only be considered to have a full frames processing if either it runs out of work or uses a large % of the time slice. Depending we either tick it again next frame or go to the next time sliced generator (next frame).

[at]Yoan.StAmant Aris [at]Aris.Theophanidis


#ROBOMERGE-SOURCE: CL 11628387 via CL 11628394
#ROBOMERGE-BOT: (v656-11643781)

[CL 11805238 by stephen holmes in Main branch]
2020-03-01 01:40:04 -05:00
Aris Theophanidis
486573c33d Fix issue where AI would generate straight path on Android and Switch (ignoring obstacles)
This was caused by the unwanted and undefined behavior of passing fltmax to some int flags (causing flags to SkipStringPulling)
#rb Yoan.StAmant
#jira UE-88980
#jira UE-88035

Integration from CL 11616045

[CL 11657720 by Aris Theophanidis in Main branch]
2020-02-27 11:05:20 -05:00
yoan stamant
aafdd91a93 NavigationDirtyArea: added error reporting for large area dirtying the navigation data
+ added advanced property "DirtyAreaWarningSizeThreshold" in NavigationSystem to report warning logs when tiles larger than the specified threshold are pushed to the dirty queue.
+ error reporting is disabled as long as navigation lock is effective
+ centralized area validations and error reporting inside method FNavigationDirtyAreasController::AddArea and added new optional parameter to retrieve source object

[at]aris.theophanidis [at]maxime.mercier


#ROBOMERGE-SOURCE: CL 11587708 via CL 11587713 via CL 11588090
#ROBOMERGE-BOT: (v654-11333218)

[CL 11592197 by yoan stamant in Main branch]
2020-02-24 18:43:44 -05:00
aris theophanidis
5ea31ebf07 Marking map as dirty when navmesh tiles are built
[REVIEW] [at]Mieszko.Zielinski [at]Mikko.Mononen
#rb Mieszko.Zielinski Mikko.Mononen


#ROBOMERGE-SOURCE: CL 11568105 via CL 11568106 via CL 11568107 via CL 11568109
#ROBOMERGE-BOT: (v654-11333218)

[CL 11568110 by aris theophanidis in Main branch]
2020-02-20 13:54:10 -05:00
aris theophanidis
cd992be6ec Fix NaN when using FBox by using HALF_WORLD_MAX instead of BIG_NUMBER
[REVIEW] [at]Maxime.Mercier [at]Yoan.StAmant


#ROBOMERGE-SOURCE: CL 11544220 via CL 11544359 via CL 11544387 via CL 11544467
#ROBOMERGE-BOT: (v654-11333218)

[CL 11544570 by aris theophanidis in Main branch]
2020-02-19 12:55:00 -05:00
benn gallagher
af9ab66a83 Exposed IsHole for heightfields and added handling to navigation export for holes.
#ROBOMERGE-SOURCE: CL 11456506 via CL 11456507 via CL 11456508 via CL 11456509
#ROBOMERGE-BOT: (v654-11333218)

[CL 11456510 by benn gallagher in Main branch]
2020-02-15 11:21:21 -05:00
bill henderson
db545c0140 Chaos: Fix Cook differences issue
#rb Benn.Gallagher


#ROBOMERGE-SOURCE: CL 11451215 via CL 11452375 via CL 11452404 via CL 11452445
#ROBOMERGE-BOT: (v654-11333218)

[CL 11456159 by bill henderson in Main branch]
2020-02-15 10:17:29 -05:00
aris theophanidis
987038e0f4 Fix NaN in GetPolysInBox()
[REVIEW] [at]Maxime.Mercier
#rb Maxime.Mercier


#ROBOMERGE-SOURCE: CL 11432182 via CL 11432185 via CL 11432190 via CL 11432196
#ROBOMERGE-BOT: (v654-11333218)

[CL 11432197 by aris theophanidis in Main branch]
2020-02-13 20:29:49 -05:00
yoan stamant
a4d2d0bdc1 NavigationSystem: Added CSV stat to track navigation tasks (running + remaining)
[REVIEW] [at]maxime.mercier


#ROBOMERGE-SOURCE: CL 11421071 via CL 11421125 via CL 11421133 via CL 11421140
#ROBOMERGE-BOT: (v654-11333218)

[CL 11421148 by yoan stamant in Main branch]
2020-02-13 12:42:18 -05:00
stephen holmes
e7f00604a4 Simple change to allow better logging of locks and rebuild all to the nav mesh
[at]Yoan.StAmant


#ROBOMERGE-SOURCE: CL 11415477 via CL 11415497
#ROBOMERGE-BOT: (v654-11333218)

[CL 11415498 by stephen holmes in Main branch]
2020-02-13 05:19:52 -05:00
Rolando Caloca
5b82f15def Copying //UE4/Dev-RenderPlat-Staging@11388153 to //UE4/Main
#rb none
#rnx

[CL 11388545 by Rolando Caloca in Main branch]
2020-02-12 13:27:19 -05:00
aris theophanidis
5a8f8161a6 Experimental navmesh debug tools (first pass)
Allow to display internal debug data at different navmesh generation steps for a selected tile
Ignore height filtering while displaying the navmesh around camera position
[REVIEW] [at]Mieszko.Zielinski [at]Mikko.Mononen
#rb Mikko.Mononen
#jira UE-86730


#ROBOMERGE-SOURCE: CL 11285125 via CL 11285129 via CL 11285132
#ROBOMERGE-BOT: (v647-11244347)

[CL 11285135 by aris theophanidis in Main branch]
2020-02-06 14:37:16 -05:00
Josh Adams
aa9705149b Copying Private-LoadTimes-4.24 stream to Main. Biggest changes are in Materials/Shader memory freezing.
#rb none

[CL 11282608 by Josh Adams in Main branch]
2020-02-06 13:13:41 -05:00
Marc Audy
4ec917cbba Merging //UE4/Dev-Main to Dev-Framework (//UE4/Dev-Framework) @ 11213977
#rb
#rnx

[CL 11215578 by Marc Audy in Dev-Framework branch]
2020-02-04 11:43:57 -05:00
Marc Audy
6be7175165 Merging //UE4/Dev-Main to Dev-Framework (//UE4/Dev-Framework) @ 11203868
#rb
#rnx

[CL 11203920 by Marc Audy in Dev-Framework branch]
2020-02-01 14:39:32 -05:00
Rolando Caloca
f63a3e857e Merging //UE4/Main@11178322 to Dev-RenderPlat-Staging
#rnx
#rb none

[CL 11195678 by Rolando Caloca in Dev-RenderPlat-Staging branch]
2020-01-31 10:34:10 -05:00
Marc Audy
9b14e17824 Merging //UE4/Dev-Main to Dev-Framework (//UE4/Dev-Framework) @ 11128285
#rb
#rnx

[CL 11130996 by Marc Audy in Dev-Framework branch]
2020-01-28 11:29:06 -05:00
aris theophanidis
3cd334875d Build fix, missing world.h include
#rb trivial


#ROBOMERGE-SOURCE: CL 11116516 via CL 11116523 via CL 11116530
#ROBOMERGE-BOT: (v640-11091645)

[CL 11117693 by aris theophanidis in Main branch]
2020-01-27 14:16:56 -05:00