Commit Graph

30 Commits

Author SHA1 Message Date
guillaume guay
a8821f80b4 - Added navigation system config 'bUseNavDataInAdditionalLevelWhenDuplicatedAgent". When set to TRUE, adding or streaming an additional level containing an already registered navigation data, it will unregister current one and register the new one;
- Added navigation system config 'bGenerateNavDataWhenNoCompatibleNavBound". When set to TRUE (default) it will still generate navigation data if any NavBoundVolume is compatible with its NavDataConfig, if false it gets rid of that navigation data;
- Make sure that when "bSpawnNavDataInNavBoundsLevel" is TRUE, it builds the navigation data in the first level containing a NavBoundVolume that actually supports this navigation data config (not any first one);
- Added virtual method on NavigateSystem "OnNavSystemOverriden" to give a chance to inspect previous NavigationSystem when getting overriden by a nav config override;
- Added some missing NavigationSystem clean up logic.

#tests client/server standalone Creative AI, Phoebe and regular + editor
#cr maxime.mercier
[FYI] mieszko.zielinski, stephen.holmes, yoan.stamant


#ROBOMERGE-OWNER: guillaume.guay
#ROBOMERGE-AUTHOR: guillaume.guay
#ROBOMERGE-SOURCE: CL 7679442 via CL 7679443 via CL 7688466
#ROBOMERGE-BOT: (v383-7686620)

[CL 7688470 by guillaume guay in Main branch]
2019-08-01 12:53:04 -04:00
yoan stamant
60770f6f4f RecastNavMeshGenerator: Fixed regression introduced by 6675381 by configuring flag bRestrictBuildingToActiveTiles before marking NavBounds dirty for newly created navmesh. This prevents the whole navmesh to be generated when using Navigation invokers.
#rnx
#jira UE-77357
#rb maxime.mercier
[FYI] mieszko.zielinski

#ROBOMERGE-SOURCE: CL 7419221 in //UE4/Release-4.23/...
#ROBOMERGE-BOT: RELEASE (Release-4.23 -> Main) (v371-7306989)

[CL 7419246 by yoan stamant in Main branch]
2019-07-17 13:35:45 -04:00
mieszko zielinski
7c0bb2f243 Added functionality to RecastNavMesh that allows one to procedurally bulk-change navmesh generation properties
As part of the process I've deprecated essentially unused ARecastNavMesh.AgentMaxHeight and removed the code accessing it.

[at]Yoan.StAmant
#rb Yoan.StAmant


#ROBOMERGE-SOURCE: CL 7249093 via CL 7262675
#ROBOMERGE-BOT: (v369-7254125)

[CL 7262737 by mieszko zielinski in Main branch]
2019-07-10 13:40:01 -04:00
mieszko zielinski
084709fff1 Fixed StoreCollisionCache in RecastNavMeshGenerator.cpp to properly reset the array GeomExport.Data->CollisionData array.
It used to Reserve rather than Empty which in edge cases left the array at undesided state/size.

#jira UE-76279
Yoan.StAmant
#rb Yoan.StAmant

#ROBOMERGE-SOURCE: CL 7061952 in //UE4/Release-4.23/...
#ROBOMERGE-BOT: RELEASE (Release-4.23 -> Main) (v367-6836689)

[CL 7061953 by mieszko zielinski in Main branch]
2019-06-18 04:42:34 -04:00
Mieszko Zielinski
564a8d1f3e Added a dedicated warning for when we attempt to creat a dtNavMesh instance with maxTiles == 0.
Also, made sure we release the faultu dtNavMesh instance if we're not going to use it.

#jira UE-71027
#review-6676106 @Yoan.StAmant
#rb Yoan.StAmant

[CL 6676722 by Mieszko Zielinski in Dev-Framework branch]
2019-05-30 12:22:17 -04:00
Mieszko Zielinski
31fa3c7421 Made sure we mark all the navigable space dirty after recreating dtNavMesh instance due to mismatching navmesh properties.
#jira UE-65963
#rb none

[CL 6675381 by Mieszko Zielinski in Dev-Framework branch]
2019-05-30 08:42:12 -04:00
Mieszko Zielinski
61f3b0d4d3 Added logging to the two cases that can make RecastNavMeshGenerator recreate the dtNavMesh instance (dumping the serialized one)
#rb none
#jira none

[CL 6651556 by Mieszko Zielinski in Dev-Framework branch]
2019-05-28 05:40:31 -04:00
Mieszko Zielinski
a1708e0630 Made NavModifierComponent work properly even if its owner's root component was marked as nav-irrelevant #UE4
While at it had to mess around with RegastNavMeshGenerator's initialization - the old way in some cases resulted in overriding once configured properties or needless dtNavMesh instance recreation.
In the process I've removed the Generator->Init() call from ARecastNavMesh::ConditionalConstructGenerator since now we call Init as part of generator's construction.

#jira UE-74448
#review-6533131 Yoan.StAmant
#rb Yoan.StAmant

[CL 6604191 by Mieszko Zielinski in Dev-Framework branch]
2019-05-22 06:50:15 -04:00
Marc Audy
502f469036 Merging //UE4/Dev-Main to Dev-Framework (//UE4/Dev-Framework) @ 5503639
#rb
#rnx

[CL 5504188 by Marc Audy in Dev-Framework branch]
2019-03-22 14:59:27 -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
Ben Zeigler
1ce734caf6 Set up ReferenceNames for most runtime FGCObject classes, as these now properly show up in obj refs
#rb marc.audy

[CL 5365250 by Ben Zeigler in Dev-Framework branch]
2019-03-11 19:48:28 -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
Robert Manuszewski
cfa01c09c7 Merging //UE4/Dev-Main to Dev-Core (//UE4/Dev-Core)
#rb none

[CL 4731457 by Robert Manuszewski in Dev-Core branch]
2019-01-16 04:23:12 -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
Robert Manuszewski
2752c82adc Merging //UE4/Dev-Main @ 4664414 to Dev-Core (//UE4/Dev-Core)
#rb none

[CL 4675693 by Robert Manuszewski in Dev-Core branch]
2019-01-02 00:55:51 -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
Robert Manuszewski
1685ed0b2e Merging //UE4/Dev-Main @ 4620382 to Dev-Core (//UE4/Dev-Core)
#rb none

[CL 4631078 by Robert Manuszewski in Dev-Core branch]
2018-12-04 23:30:42 -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
Josh Adams
4f63a76b48 - Changed compression methods to be an FName instead of hardcoded enum
- Added support for compression plugins
- Removed the Custom compression concept, now using plugins properly
- Modified UnrealPak to use FNames, and allow for multiple compression methods (fallbacks on error or unavailability, etc)
- Added project settings for compression method selection for UnrealPak, and additional settings to be passed to UnrealPak (for instance, to control compression size/speed, etc)
- Deprecated a bunch of old function calls
- Improved pak file "old format" reading ability
- Brought over some changes from Fortnite for pak file encryption and memory savings
- Implemented a parallel compression pull request (#4129) to speed up pak file compression
#jira UE-51294
#rb ben.marsh

[CL 4480944 by Josh Adams in Dev-Core branch]
2018-10-17 14:18:10 -04:00
Robert Manuszewski
8841a31595 Merging //UE4/Dev-Main @ 4448303 to Dev-Core (//UE4/Dev-Core)
#rb none

[CL 4450493 by Robert Manuszewski in Dev-Core branch]
2018-10-11 08:14:26 -04:00
mieszko zielinski
0e35c4450b Fixed navmesh tiles AABB being calculated wrong for large agents #UE4
#jira UE-65038
#rb Lukasz.Furman

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

[CL 4446390 by mieszko zielinski in Staging-4.21 branch]
2018-10-10 14:34:05 -04:00
Robert Manuszewski
02ba9f72df Merging //UE4/Dev-Main @ 4397329 to Dev-Core (//UE4/Dev-Core)
#rb none

[CL 4397828 by Robert Manuszewski in Dev-Core branch]
2018-09-26 08:22:54 -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
Stefan Boberg
ec78046f43 Merging //UE4/Dev-Main to Dev-Core (//UE4/Dev-Core)
#rb none

[CL 4314710 by Stefan Boberg in Dev-Core branch]
2018-08-24 10:59:28 -04:00
Robert Manuszewski
5cfb721650 Merging //UE4/Dev-Main @ 4166795 to Dev-Core (//UE4/Dev-Core)
#rb none

[CL 4168931 by Robert Manuszewski in Dev-Core branch]
2018-06-28 02:30:53 -04:00