Commit Graph

375 Commits

Author SHA1 Message Date
Aris Theophanidis
9dffa094ea [Navmesh] Fix issue with HISM not modifying a dynamic navmesh when there is no instance on component register and instances are added later on.
#jira UE-151022
#rb Maxime.Mercier
#preflight 627a72f3bd643341fef8a9cd

[CL 20122977 by Aris Theophanidis in ue5-main branch]
2022-05-10 10:34:14 -04:00
Aris Theophanidis
7ee1676796 Fix gameplay debugger navmesh rendering issue
When using bRestrictBuildingToActiveTiles, GetDebugGeometry() would gather the data for all the active tiles for each tile in the TileSet instead of only once, leading to unsuable framerate.
#rb Mieszko.Zielinski
#jira none
#preflight 627434d8fd59d6606e05341a

[CL 20064369 by Aris Theophanidis in ue5-main branch]
2022-05-05 16:48:48 -04:00
frederic doll
4d2020b091 Extract custom navlink bounds computation in NavigationSystem custom link registration
[REVIEW] 20012383
#rb aris.theophanidis, guillaume.guay

#ROBOMERGE-AUTHOR: frederic.doll
#ROBOMERGE-SOURCE: CL 20042854 via CL 20042872 via CL 20042879 via CL 20042887
#ROBOMERGE-BOT: UE5 (Release-Engine-Staging -> Main) (v943-19904690)

[CL 20044836 by frederic doll in ue5-main branch]
2022-05-04 14:05:55 -04:00
Aris Theophanidis
5c4115f532 [WP Dynamic Navmesh] First pass on WP dynamic navmesh
- Dynamic navmesh in a world partitioned map is now allowed to build a base navmesh and stream cells from it
- Ignore navigation dirtiness coming from objects loading/unloading that are part of the base navmesh
- Addition of vlog boxes on addition and removal of navigation data chunk actors
#rb Yoan.StAmant
#jira UE-150793
#preflight 626fe108220f89f0ad3fdb14

[CL 20008063 by Aris Theophanidis in ue5-main branch]
2022-05-02 10:10:57 -04:00
Aris Theophanidis
693bf3bed5 Bring back deprecated function with blueprint deprecation metadata to allow users to update.
#rb Yoan.StAmant
#jira none
#preflight 626972d5b710a00f18bda39e

[CL 19942821 by Aris Theophanidis in ue5-main branch]
2022-04-27 13:31:38 -04:00
Aris Theophanidis
670a1c58e5 Remove some deprecated methods and members in navigation
#rb Mieszko.Zielinski
#jira none
#preflight 62683700dd35c0d6cab70fca

[CL 19926513 by Aris Theophanidis in ue5-main branch]
2022-04-26 15:18:23 -04:00
Aris Theophanidis
cb1a4ec39f [Navmesh] Increase streaming radius by the size of the largest supported agent
#rb JeanFrancois.Dube
#rb Yoan.StAmant
#jira none
#preflight 6268139c853fdb6fddbef5e5

[CL 19923918 by Aris Theophanidis in ue5-main branch]
2022-04-26 13:24:13 -04:00
danny couture
10f1c7650b Add missing Insight trace on mesh card and navcollision builds
#rnx
#rb Francis.Hurteau
#preflight 62634fdbbc24759dc75ed518

[CL 19881224 by danny couture in ue5-main branch]
2022-04-22 21:18:05 -04:00
stefan-zimecki
cd813f6703 RecastNavMesh: Fixed cell size clamping based on issue reported via github PR.
PR #8899: [Bugfix][Recast] Fixed cell size adjustment in RecastNavMesh (Contributed by stefan-zimecki)

#jira UE-142756
#rb Mieszko.Zielinski
#preflight 6262544cd929bc34a31586f6

[CL 19861957 by stefan-zimecki in ue5-main branch]
2022-04-22 03:36:26 -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
Julien StJean
175d5f6ab4 Adding elements support for the marquee selection.
Added a new registry to let the objects provide how their elements should be selected when doing a selection by a volume such as a box or a frustum.
Added a some editor only functions for the marquee selection into the world interface.

#jira UETOOL-4797
#rb Brooke.Hubert
#preflight 624cb2dca64871f1a113bf2a

[CL 19727315 by Julien StJean in ue5-main branch]
2022-04-12 15:52:44 -04:00
Aris Theophanidis
eb63f71539 Extract FNavigationDirtyElement from NavigationTypes.h and remove extra include dependencies
#rb Yoan.StAmant
#jira none
#preflight 624f38f7867d2945ae88e50d

[CL 19677087 by Aris Theophanidis in ue5-main branch]
2022-04-07 16:15:48 -04:00
Aris Theophanidis
53efc291b3 Fix "navmesh needs to be rebuilt" message appearing even when there is nowhere to build navigation.
#rb Yoan.StAmant
#rb Mieszko.Zielinski
#jira UE-146811
#preflight 623b2b1c0820efd094a922af

[CL 19479223 by Aris Theophanidis in ue5-main branch]
2022-03-23 10:30:04 -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
frederic doll
860eed028c Fix missing array initialization in FPImplRecastNavMesh::FindPolysAroundCircle resulting in NodePolyCost not being returned
#rb aris.theophanidis

#ROBOMERGE-AUTHOR: frederic.doll
#ROBOMERGE-SOURCE: CL 19429994 via CL 19429998 via CL 19432864 via CL 19438357 via CL 19438526
#ROBOMERGE-BOT: UE5 (Release-Engine-Staging -> Main) (v930-19419903)

[CL 19442444 by frederic doll in ue5-main branch]
2022-03-18 18:51:49 -04:00
aris theophanidis
4eb193aafc [Navmesh] Fix bShouldDiscardSubLevelNavData
Moving conditions allowing the property to take effect from ARecastNavMesh::PostInitProperties() to ARecastNavMesh::PostLoad() and delaying the check to discard navdata if there is no navigation system yet.
Removing previous ShouldDiscardSubLevelNavData() function that would fallback to read value from NavSysCDO when there is no navigation system.
#rb Yoan.StAmant, Maxime.Mercier
#jira UE-113463
[RN] fix Warning: UNavigationSystemV1 bShouldDiscardSubLevelNavData property was not working in some cases. With this fix navdata from sublevel will be properly discarted if the property is true (it's default value).
#preflight 62323fb4736af8e0822c951b

#ROBOMERGE-AUTHOR: aris.theophanidis
#ROBOMERGE-SOURCE: CL 19412570 via CL 19414029 via CL 19427618 via CL 19427717
#ROBOMERGE-BOT: UE5 (Release-Engine-Staging -> Main) (v930-19419903)

[CL 19429581 by aris theophanidis in ue5-main branch]
2022-03-17 19:10:55 -04:00
aris theophanidis
d131f4029b Crash fix for UActorFactory::NewActorClass that can be null.
#rb Yoan.StAmant
#rb Steve.Robb
#jira UE-146444
#lockdown Nick.Whiting
#preflight 623394e3791d231e02090253

#ROBOMERGE-AUTHOR: aris.theophanidis
#ROBOMERGE-SOURCE: CL 19426688 in //UE5/Release-5.0/... via CL 19427263
#ROBOMERGE-BOT: UE5 (Release-Engine-Staging -> Main) (v930-19419903)

[CL 19429562 by aris theophanidis in ue5-main branch]
2022-03-17 19:09:40 -04:00
Aris Theophanidis
1f4a2f5fdf Fix "Navmesh needs to be rebuilt" error message while running a Listen Server and Client by not creating default static navdata in a non-editor context.
#jira UE-144287
#rb Mieszko.Zielinski
#preflight 622a347cda1344416cb507bb

[CL 19337923 by Aris Theophanidis in ue5-main branch]
2022-03-10 12:29:48 -05:00
aris theophanidis
c66291a8dc Set IsSpatiallyLoaded to false by default for NavMeshBoundsVolume
#jira UE-143902
#rb Yoan.StAmant
#preflight 621914e61d1c50179947eca9
#lockdown julien.marchand
#rnx

#ROBOMERGE-AUTHOR: aris.theophanidis
#ROBOMERGE-SOURCE: CL 19152054 in //UE5/Release-5.0/... via CL 19153670
#ROBOMERGE-BOT: UE5 (Release-Engine-Staging -> Main) (v921-19075845)

[CL 19161103 by aris theophanidis in ue5-main branch]
2022-02-25 19:34:38 -05:00
aris theophanidis
379c9008c5 [Navmesh] Fix broken "Mask Fill Collision Under" feature (regression from CL 17897123)
#jira UE-141641
#rb Yoan.StAmant
#rnx
#lockdown julien.marchand
#preflight 6201871ce9567e667309dbaa

#ROBOMERGE-AUTHOR: aris.theophanidis
#ROBOMERGE-SOURCE: CL 18895186 via CL 18895202 via CL 18895234 via CL 18896471 via CL 18896758
#ROBOMERGE-BOT: UE5 (Release-Engine-Test -> Main) (v910-18824042)

[CL 18897012 by aris theophanidis in ue5-main branch]
2022-02-07 20:06:23 -05:00
aris theophanidis
ecfc027b20 [Navmesh] Change bAutoDestroyWhenNoNavigation to be false by default
#jira UE-141097
#rb Mieszko.Zielinski
#preflight 61fd58fcdb09cf39bef212b6

#ROBOMERGE-AUTHOR: aris.theophanidis
#ROBOMERGE-SOURCE: CL 18870182 via CL 18870192 via CL 18870205 via CL 18871235 via CL 18871435
#ROBOMERGE-BOT: UE5 (Release-Engine-Test -> Main) (v910-18824042)

[CL 18871466 by aris theophanidis in ue5-main branch]
2022-02-04 15:21:59 -05: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
marc audy
ad4b7854c8 Make rerun construction scripts editor only
#preflight 61fb0ccc5e35b9215b0283c0

[CL 18836864 by marc audy in ue5-main branch]
2022-02-02 18:40:33 -05:00
fred kimberley
7fbfaf57c8 Require explicit constructors/casts when converting between FVector, FVector3d, and FVector3f.
#jira UE-122078
#rb Andrew.Davidson, Colin.McGinley
#preflight standard build

#ROBOMERGE-AUTHOR: fred.kimberley
#ROBOMERGE-SOURCE: CL 18817999 in //UE5/Release-5.0/... via CL 18818012 via CL 18822871
#ROBOMERGE-BOT: UE5 (Release-Engine-Test -> Main) (v910-18824042)

[CL 18824721 by fred kimberley in ue5-main branch]
2022-02-02 07:59:31 -05:00
andrew davidson
8e95b10069 Fix FVector2D variant casts - Runtime
Submitted on behalf of fred.kimberley
#rb andy.davidson
#preflight 61f8729a5a026d2d19bb9ca6
#preflight 61f87a025a026d2d19be76ed

#ROBOMERGE-OWNER: andrew.davidson
#ROBOMERGE-AUTHOR: andrew.davidson
#ROBOMERGE-SOURCE: CL 18802361 in //UE5/Release-5.0/... via CL 18802891 via CL 18821557
#ROBOMERGE-BOT: UE5 (Release-Engine-Test -> Main) (v908-18788545)

[CL 18821641 by andrew davidson in ue5-main branch]
2022-02-02 01:47:07 -05:00