Commit Graph

27 Commits

Author SHA1 Message Date
Marc Audy
278eda75dd Merging //UE4/Dev-Main to Dev-Framework (//UE4/Dev-Framework) @ 7234503
#rb
#rnx

[CL 7263339 by Marc Audy in Dev-Framework branch]
2019-07-10 13:47:03 -04:00
Yoan StAmant
534afb4738 Dynamic Obstacle support for Instanced Static Mesh or Hierarchical Instanced Static Mesh Component
FRecastTileGenerator & FRecastNavMeshGenerator
* Better support for transformation of per instance Convex shapes in MarkDynamicArea (replacing PartialTransformConvexHull)
* Added Per Instance modifier support in GrabDebugSnapshot for VisualLogger (both Geomerty export & AreaNavModifier)
* Added Per Instance modifier support in ExportNavigationData (both Geomerty export & AreaNavModifier)

FCompositeNavModifier
* Deprecated PerInstanceTransformDelegate code since it is unused and duplicated functionality handled by FNavigationRelevantData
* Added flag to mark as a PerInstance modifier

Fixed NavigationDataDump when default FBox is used (since GetVolume will be computed from uninitialized values)

#jira UE-71481
#review-6893930 @mieszko.zielinski
#rb mieszko.zielinski

[CL 6912667 by Yoan StAmant in Dev-Framework branch]
2019-06-10 12:57:10 -04:00
Mieszko Zielinski
167345c8eb Fixed NavModifierVolume not updating navmesh upon undoing changes in the editor
#jira UE-57115
#rb none

[CL 6663464 by Mieszko Zielinski in Dev-Framework branch]
2019-05-29 09:38:42 -04:00
Mieszko Zielinski
b51e0bbe37 Un-virtualized UNavigationSystemV1::AddDirtyArea before it gets shipped in 4.23 #UE4 #Athena
It wasn't virtual pre-4.23 and was added to accomodate on of the internal project's requirements. I've refactored the project-specific code to not need it.
This change is required in support of the soon-to-come navigation system refactor/extension.

#jira none
#review-6618928 @Yoan.StAmant
#rb Yoan.StAmant

[CL 6628443 by Mieszko Zielinski in Dev-Framework branch]
2019-05-24 07:33:53 -04:00
Mieszko Zielinski
a389bc8746 Replaced UNavigationSystemV1::ConditionalPopulateNavOctreeActor with UNavigationSystemV1::AddLevelToOctree #UE4
Removed UNavigationSystemV1::ConditionalPopulateNavOctreeActor has been added to allow one of the internal project filter out some actors being added to nav octree. I'm removing this function before it ships with 4.23. I've replaced the function with UNavigationSystemV1::AddLevelToOctree that gets called in the same circumstances but a bit "higher level" - it's operating on the whole ULevel rather than individual actors, which ends up being more efficient.

#rb none
#jira none

[CL 6604304 by Mieszko Zielinski in Dev-Framework branch]
2019-05-22 08:18:41 -04:00
Ben Zeigler
e15c6d6e7d Fix AI module load order issue. The AIModule is implicitly loaded early in editor startup from DetailCustomizations, but if you break that dependency link the AI module does not get loaded until PreDefault, which is way after when the Pawn CDO gets initialized.
I was able to fix a NavigationSystemBase case because it only needed a soft ref, but the Pawn needs a hard ref to AIController so AIController must be loaded before Pawn's CDO gets initialized
The AISupportModule now has a hard reference to an AI module symbol, this causes that module to get loaded very early, but the StarutpModule happens at the same time it used to, fairly late in startup
#codereview mieszko.zielinski
#rb gil.gribb

[CL 6317743 by Ben Zeigler in Dev-Framework branch]
2019-05-06 12:16:22 -04:00
Dan Oconnor
1057caa0d6 Merging //UE4/Dev-Main to Dev-Framework (//UE4/Dev-Framework) @5937262
#rb None

[CL 5965729 by Dan Oconnor in Dev-Framework branch]
2019-04-17 22:11:57 -04:00
Marc Audy
82e0666ce7 Merging //UE4/Dev-Main to Dev-Framework (//UE4/Dev-Framework) @ 5450266
#rb
#rnx

[CL 5459329 by Marc Audy in Dev-Framework branch]
2019-03-19 16:16:11 -04:00
Marc Audy
6c6b055f0e Merging //UE4/Dev-Main to Dev-Framework (//UE4/Dev-Framework) @ 5271686
#rb
#rnx

[CL 5282523 by Marc Audy in Dev-Framework branch]
2019-03-04 10:23:33 -05:00
Marc Audy
bcc53f72d7 Merging //UE4/Dev-Main to Dev-Framework (//UE4/Dev-Framework) @ 4898645
#rb
#rnx

[CL 4917956 by Marc Audy in Dev-Framework branch]
2019-02-05 23:17:27 -05:00
Marc Audy
9d9dccf2e0 Merging using //UE4/Main_to_//UE4/Dev-Framework
#rb
#rnx

[CL 4708860 by Marc Audy in Dev-Framework branch]
2019-01-11 09:24:14 -05:00
Marc Audy
ab108c215e Copying to Dev-Main @ CL# 4688301
#rb
#rnx

[CL 4688816 by Marc Audy in Main branch]
2019-01-08 11:38:48 -05:00
Marc Audy
608734e30d Merging //UE4/Dev-Main to Dev-Framework (//UE4/Dev-Framework) @ 4664414
#rb
#rnx

[CL 4666113 by Marc Audy in Dev-Framework branch]
2018-12-17 12:24:20 -05:00
Ben Marsh
7598af0532 Update copyright notices to 2019.
#rb none
#lockdown Nick.Penwarden

[CL 4662404 by Ben Marsh in Main branch]
2018-12-14 13:41:00 -05:00
Marc Audy
3903a00380 Merging //UE4/Dev-Main to Dev-Framework (//UE4/Dev-Framework) @ CL# 4586854
#rb
#rnx

[CL 4588942 by Marc Audy in Dev-Framework branch]
2018-11-21 22:55:06 -05:00
Mieszko Zielinski
e8520ae2fd Manual merge of CL#4578611 from 4.21. Original description:
Added an additional condition to FNavigationSystem::ShouldLoadNavigationOnClient to avoid triggering a casting ensure #UE4

#rb James.Golding
#jira UE-66342

[CL 4578889 by Mieszko Zielinski in Dev-Framework branch]
2018-11-19 12:32:15 -05:00
Ben Marsh
ea340d3fbf Copying //UE4/Fortnite-Staging to Dev-Main (//UE4/Dev-Main)
#rb none
#lockdown Nick.Penwarden

[CL 4567513 by Ben Marsh in Main branch]
2018-11-14 19:05:13 -05:00
mieszko zielinski
7dc50b3ea1 Made sure NavigationSystemConfig respects GEngine->NavigationSystemClassName #UE4
#jira UE-62991
#rb none

#ROBOMERGE-SOURCE: CL 4439162 in //UE4/Release-4.21/...
#ROBOMERGE-BOT: RELEASE (Release-4.21 -> Release-Staging-4.21)

[CL 4439165 by mieszko zielinski in Staging-4.21 branch]
2018-10-09 08:00:58 -04:00
Marc Audy
af90b7bcd4 Copying //UE4/Fortnite-Staging to Dev-Main (//UE4/Dev-Main) @ 4395008
#rb
#rnx
#lockdown Nick.Penwarden

[CL 4395058 by Marc Audy in Main branch]
2018-09-25 10:11:35 -04:00
Marc Audy
16a368545a Use components set directly rather than incurring overhead of filtering and copying in to external storage and then using it.
#rb none
#rnx

[CL 4279612 by Marc Audy in Dev-Framework branch]
2018-08-13 11:44:41 -04:00
Marc Audy
952ca7ae49 Merging //UE4/Dev-Main to Dev-Framework (//UE4/Dev-Framework) @ 4166795
#rb
#rnx

[CL 4167744 by Marc Audy in Dev-Framework branch]
2018-06-27 17:19:13 -04:00
mieszko zielinski
878d316ce9 Fixed new navigation system not respecting 'Allow Client Side Navigation' setting #UE4
#jira UE-60438
#rb none

#ROBOMERGE-SOURCE: CL 4137126 in //UE4/Release-4.20/...
#ROBOMERGE-BOT: RELEASE (Release-4.20 -> Release-Staging-4.20)
#ROBOMERGE-AUTHOR: mieszko.zielinski

[CL 4150401 by mieszko zielinski in Staging-4.20 branch]
2018-06-20 14:25:12 -04:00
Mieszko Zielinski
c0c31a6cba Fixed 'Navmesh needs to be rebuild' warning erroneously flashing during PIE #UE4
#jira UE-57348
#rb none

[CL 4137139 by Mieszko Zielinski in Dev-Framework branch]
2018-06-19 07:08:50 -04:00
Mieszko Zielinski
86b09177d3 Cleaning up AI and navigation-related @todos #UE4
Most of them related to recent nav sys refactor, but some are just old todos. Changes include:
- plugged in navmesh vislogging
- implemented querying and stopping movement from the engine code (via FNavigationSystem's binds)
- fixed UNavigationSystemV1::ConfigureAsStatic
- implemented NavigationSystem's own nav config class (with additional options available)

Also added some helpful comments in couple of places.

#rb none

[CL 4112787 by Mieszko Zielinski in Dev-Framework branch]
2018-06-05 09:49:14 -04:00
Marc Audy
d90da4ab1a Merge to Dev-Main for 4.20 @ 4090813
#rb
#rnx
#lockdown Nick.Penwarden

[CL 4091081 by Marc Audy in Main branch]
2018-05-23 21:04:31 -04:00