Commit Graph

38 Commits

Author SHA1 Message Date
mieszko zielinski
c95d0c8150 CIS fix #UE4
#jira none
#rb none

#ROBOMERGE-OWNER: lina.halper
#ROBOMERGE-AUTHOR: mieszko.zielinski
#ROBOMERGE-SOURCE: CL 5061350 in //UE4/Release-4.22/... via CL 5061363
#ROBOMERGE-BOT: ANIM (Main -> Dev-Anim)

[CL 5135803 by mieszko zielinski in Dev-Anim branch]
2019-02-22 03:45:44 -05:00
mieszko zielinski
5049c0cb6b Made NavigationSystem's coordinate transforms' initialization not static #UE4
Static initializtion of FNavigationSystem::CoordTypeTransformsTo was causing issues on PS4 since it was triggered before FTransform::Initialize got initialized resulting in CoordTypeTransformsTo containing 'zero' transforms.
I've also made the related code a lot more readable.

#jira UE-67512
#rb Stephen.Holmes

#ROBOMERGE-OWNER: lina.halper
#ROBOMERGE-AUTHOR: mieszko.zielinski
#ROBOMERGE-SOURCE: CL 5061258 in //UE4/Release-4.22/... via CL 5061259
#ROBOMERGE-BOT: ANIM (Main -> Dev-Anim)

[CL 5135788 by mieszko zielinski in Dev-Anim branch]
2019-02-22 03:45:15 -05:00
mieszko zielinski
849cd0fbc3 Switched nav octree element ID over from uint64 to uint32 and changed how we assign it - it's now set to Object.GetObjectID() #UE4
#jira UE-69049
#rb none

#ROBOMERGE-OWNER: lina.halper
#ROBOMERGE-AUTHOR: mieszko.zielinski
#ROBOMERGE-SOURCE: CL 5007755 in //UE4/Release-4.22/... via CL 5007756
#ROBOMERGE-BOT: ANIM (Main -> Dev-Anim)

[CL 5047449 by mieszko zielinski in Dev-Anim branch]
2019-02-18 15:25:41 -05:00
mieszko zielinski
65df1a5e70 Fixed a navmes generation bug that resulted in missing parts of navmesh when new navmesh bounds had been added #UE4
The bug was being exibited when there was already a navmesh instance on the map and another navmesh bounds volume had been added. The whole detour navmesh got dropped, but only the area covered by the new bounds had been rebuild. I've fixed it so that as part of nav bounds update a new detour navmesh instance gets created and areas covered by _all_ bounds get dirtied.

#jira UE-66340
#rb Stephen.Holmes

#ROBOMERGE-OWNER: lina.halper
#ROBOMERGE-AUTHOR: mieszko.zielinski
#ROBOMERGE-SOURCE: CL 4981450 in //UE4/Release-4.22/... via CL 4981451
#ROBOMERGE-BOT: ANIM (Main -> Dev-Anim)

[CL 5042441 by mieszko zielinski in Dev-Anim branch]
2019-02-18 14:06:02 -05:00
mieszko zielinski
04c83e93d3 Changed the way we store UNavigationSystemV1.CrowdManagerClass so that it works with game-specific crowd manager class implementations #UE4
#rb Stephen.Holmes
#jira UE-66794

#ROBOMERGE-OWNER: lina.halper
#ROBOMERGE-AUTHOR: mieszko.zielinski
#ROBOMERGE-SOURCE: CL 4967856 in //UE4/Release-4.22/... via CL 4968689
#ROBOMERGE-BOT: ANIM (Main -> Dev-Anim)

[CL 5027849 by mieszko zielinski in Dev-Anim branch]
2019-02-16 04:08:11 -05:00
mieszko zielinski
195022b5be Added special handling (including logging) when there are no walkable areas while generating recast navmesh tile #UE4
This is the case where there are some spans, but not enough to create a walkable surface.

#jira UE-69807
#rb Lukasz.Furman

#ROBOMERGE-OWNER: lina.halper
#ROBOMERGE-AUTHOR: mieszko.zielinski
#ROBOMERGE-SOURCE: CL 4967613 in //UE4/Release-4.22/... via CL 4968680
#ROBOMERGE-BOT: ANIM (Main -> Dev-Anim)

[CL 5027841 by mieszko zielinski in Dev-Anim branch]
2019-02-16 04:08:08 -05:00
marc audy
88f8b246e3 Remove redundent bCanEverTick sets from deprecated PostPhysicsComponentTick
#rnx
#rb

#ROBOMERGE-OWNER: lina.halper
#ROBOMERGE-AUTHOR: marc.audy
#ROBOMERGE-SOURCE: CL 4905422 via CL 4916794 via CL 4917396
#ROBOMERGE-BOT: ANIM (Main -> Dev-Anim)

[CL 5016944 by marc audy in Dev-Anim branch]
2019-02-16 01:16:25 -05:00
Lina Halper
f7baa58bc9 Merging //UE4/Dev-Main to Dev-Anim (//UE4/Dev-Anim)
#fyi: Laurent.Delayen, James.Hopkin
#rb: none

[CL 4923303 by Lina Halper in Dev-Anim branch]
2019-02-06 14:35:56 -05:00
Marc Audy
e5610adfd8 Merging //UE4/Dev-Main to Dev-Anim (//UE4/Dev-Anim) @ 4802313
#rb
#rnx
#lockdown Laurent.Delayen

[CL 4803512 by Marc Audy in Dev-Anim branch]
2019-01-24 15:32:49 -05:00
Thomas Sarkanen
cc942a3341 Merging //UE4/Dev-Main to Dev-Anim (//UE4/Dev-Anim) @ CL 4768627
#rb none
#jira none

[CL 4769629 by Thomas Sarkanen in Dev-Anim branch]
2019-01-22 06:48:04 -05:00
Lina Halper
f473c3d669 Merging //UE4/Dev-Main to Dev-Anim (//UE4/Dev-Anim)
#fyi: Laurent.Delayen, Thomas.Sarkanen
#rb: none
#lockdown thomas.sarkanen

[CL 4715236 by Lina Halper in Dev-Anim branch]
2019-01-11 21:07:09 -05:00
Thomas Sarkanen
b709a10f4c Merging //UE4/Dev-Main to Dev-Anim (//UE4/Dev-Anim) @ CL 4708558
#rb none
#jira none
#lockdown Laurent.Delayen

[CL 4708630 by Thomas Sarkanen in Dev-Anim branch]
2019-01-11 07:37:39 -05:00
Thomas Sarkanen
e0f6136524 Merging //UE4/Dev-Main to Dev-Anim (//UE4/Dev-Anim) @ CL 4704791
#rb none
#jiira none

[CL 4708070 by Thomas Sarkanen in Dev-Anim branch]
2019-01-11 04:11:30 -05:00
Thomas Sarkanen
8ba3c4c087 Merging //UE4/Dev-Main to Dev-Anim (//UE4/Dev-Anim) @ CL 4643671
#rb none
#jira none

[CL 4665410 by Thomas Sarkanen in Dev-Anim branch]
2018-12-17 06:31:16 -05:00
Thomas Sarkanen
e5eb5adfbe Merging //UE4/Dev-Main to Dev-Anim (//UE4/Dev-Anim) @ CL 4643671
#rb none
#jira none

[CL 4644540 by Thomas Sarkanen in Dev-Anim branch]
2018-12-10 05:09:18 -05:00
Thomas Sarkanen
c51a339259 Merging //UE4/Dev-Main to Dev-Anim (//UE4/Dev-Anim) @ CL 4574801
#jira none
#rb none

[CL 4575789 by Thomas Sarkanen in Dev-Anim branch]
2018-11-19 07:03:18 -05: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
mieszko zielinski
fa64119d69 Fixed a bug in how UNavModifierComponent handles FKConvexElems #UE4
#jira UE-60987
#rb Lukasz.Furman

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

[CL 4440158 by mieszko zielinski in Staging-4.21 branch]
2018-10-09 12:52:51 -04: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
a2f3d9d448 (4.20.2) PR #4980: Fix: CrowdManagerClass property in UNavigationSystem is now correctly marked with "config" specifier. (Contributed by francoap)
#jira UE-62821
#rb Me
#rnx

[CL 4281254 by Marc Audy in Dev-Framework branch]
2018-08-13 16:17:02 -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
80c32a2251 Merging //UE4/Dev-Main to Dev-Framework (//UE4/Dev-Framework) @ 4271122
#rb
#rnx

[CL 4271719 by Marc Audy in Dev-Framework branch]
2018-08-09 10:43:19 -04:00
Michael Lentine
afc61201ec Copying //UE4/Dev-Physics to //UE4/Dev-Main (Source: //UE4/Dev-Physics @ 4242698)
#rb none
#lockdown Nick.Penwarden

============================
  MAJOR FEATURES & CHANGES
============================

Change 4023283 by Michael.Lentine

	Fix memory leak.

Change 4024243 by Michael.Lentine

	Add debugging output code from github #4533.

	#jira ue-55764

Change 4026362 by Michael.Lentine

	Merged github #3704.

	#jira ue-463394

Change 4026545 by Michael.Lentine

	Fix ordering of collision settings changed callback

	#jira ue-50475

Change 4026609 by Michael.Lentine

	Fix crash in destruction for when world is not valid

	#jira ue-53989

Change 4026786 by Michael.Lentine

	Merging github #4632 to fix memory leak.

	#jira ue-57255

Change 4027293 by Michael.Lentine

	Integrate github #4338.

	#jira ue-53497

Change 4033517 by Michael.Lentine

	Fix collision body creation for spline merging.

	#jira ue-53956

Change 4039750 by Michael.Lentine

	Add basic error message if cooking fails.

Change 4040210 by Michael.Lentine

	Check for nullptr

Change 4098887 by Michael.Lentine

	Fix warnings.

Change 4103511 by Michael.Lentine

	Prevent crash when BodyInstance is invalid.

Change 4117826 by Michael.Lentine

	Fix check for body being fixed.

Change 4122307 by Benn.Gallagher

	PS4/clang build fixes

Change 4124479 by Benn.Gallagher

	Fix non-portable filename used as an include (Linux editor build CIS error)

Change 4125450 by Benn.Gallagher

	Fixup Ocean

Change 4127210 by Michael.Lentine

	Update the PreviousBoneTransforms array when setting transforms in DestructibleComponent

	#jira ue-58813

Change 4127309 by Benn.Gallagher

	Fix Win32 shipping builds

Change 4134570 by Michael.Lentine

	Missed fixes for WITH_UEPHYSICS.

Change 4134585 by Michael.Lentine

	Missed a few more files.

Change 4134670 by Michael.Lentine

	Update formatting.

Change 4134671 by Michael.Lentine

	More formatting.

Change 4150615 by Benn.Gallagher

	Moved immediate mode into engine, as it is now depended on by the physics engine.

Change 4150680 by Benn.Gallagher

	Missed file

Change 4150980 by Benn.Gallagher

	Rename kinematic target for immediate mode to avoid ambiguous symbols in engine

Change 4151400 by Brice.Criswell

	Apeiron

	Levelset initilization issue.

	----

Change 4157880 by Benn.Gallagher

	More fixing unresolved template specialisations for FN editor.

Change 4159128 by Michael.Lentine

	Compile fixes

Change 4159786 by Brice.Criswell

	Apeiron

	Levelset curvature initialization fix, clamps out of bounds phi values to phi[i].
	------

Change 4160382 by Michael.Lentine

	Fix node initialization

Change 4160463 by Brice.Criswell

	Apeiron

	Levelset index fix.

	----

Change 4161425 by Benn.Gallagher

	Added package, class and struct redirects for moving immediate physics into engine.

Change 4164195 by Brice.Criswell

	GeometryCollection : Code review updates

	- Removed typedef for GeometryCollection::ManagedArray<T>
	- Renamed Enumerations to begin with E prefix, retyped to be uint8.
	- Removed EArrayScoipe::FScopeNone, now defautls to FScopeShared
	- Formatted type modifiers to follow UE4 coding standard.
	- Derived the ManagedArrayBase from FNonCopyable
	- Disabled TManagedArrays copy constructor and assignment operator.
	- Converted most accessors on GeometryCollection to TSharedRef.
	- Added .inl style definitions to simplify the management of the ManagedArrayTypes

	-----

Change 4164235 by Brice.Criswell

	GeometryCollection : Added New Files

	- Added the ManagedArrayTypes files.

	----

Change 4164309 by Brice.Criswell

	GeometryCollection :

	Moved the initialization of the RigidBodyIdArray and CenterOfMassArray into the WITH_APEIRON definition.
	-----

Change 4166133 by Brice.Criswell

	GeometryCollection

	Added GeometryCollectionEdit class to protect access to the rest and dynamic collections.

	-----

Change 4171540 by Michael.Lentine

	Fix reset

	#robomerge destruction

Change 4171912 by Michael.Lentine

	Rename BVHParticles

	#robomerge destruction

Change 4172445 by Brice.Criswell

	Copying //UE4/Dev-Destruction to Dev-Physics (//UE4/Dev-Physics)

	----

Change 4172623 by Brice.Criswell

	GeometryCollection

	Debugging ToString to inspect the GeometryCollection

	----

Change 4172711 by Michael.Lentine

	Add Immediate Path to Geometry Collection

Change 4172778 by Michael.Lentine

	Update LL Interface to use Simulation type.

	#robomerge destruction

Change 4172780 by Michael.Lentine

	Missed files

	#robomerge destruction

Change 4173238 by Benn.Gallagher

	Missed file from last checkin

Change 4173554 by Benn.Gallagher

	Few extra changes for const correctness and actor counts

Change 4174153 by Benn.Gallagher

	Fixed non-unity build issue from Geom Collection.

Change 4175355 by Brice.Criswell

	GeometryCollection

	Separated the GeometryCollection from USE_APEIRON flag.

	-----

Change 4175533 by Brice.Criswell

	GeometryCollection

	Defaulting Aperion to off.

	-----

Change 4175761 by Michael.Lentine

	Fix collisions.

Change 4177105 by Benn.Gallagher

	Another geom collection CIS fix when running without PCHs

Change 4177796 by Brice.Criswell

	GeometryCollection

	- Added parenting function to manage the BoneHierarchy Array
	- Split collection along yz-plane.

	-----

Change 4177989 by Brice.Criswell

	GeometryCollection

	- Moved Hierarchy and Transform array elements into base class TransformCollection
	- Renamed ParticleGroup to TransformGroup.

	-----

Change 4178826 by Brice.Criswell

	Copying //UE4/Dev-Destruction to Dev-Physics (//UE4/Dev-Physics)

	----

Change 4178840 by Brice.Criswell

	Geometry Collection

	Removed FORCEINLINE from GeometryCollectionEdit.GetRestCollection

	----

Change 4179493 by Brice.Criswell

	GeometryCollection

	New icons.

	-----

Change 4182428 by Brice.Criswell

	Build Configuration

	Apeiron configuration.
	- Modified bCompileApeiron to enable the compilation of the Apeiron plugin.
	- Added bUseApeiron to enable Apeiron in the physics interfaces.

	Changed PhysScene_Apeiron to enable when bCompileApeiron is enabled.
	Disabled the GeometryCollection* Plugins in the build.

	-------

Change 4185886 by Brice.Criswell

	GeometryCollection

	Renaming TransformGroup.

	---

Change 4186389 by michael.lentine

	Don't create in parallel for immediate mode.

Change 4186457 by michael.lentine

	Hack to prevent crashing when Visible is nullptr.

Change 4198872 by Brice.Criswell

	Apeiron
	Clustering changes

	- Clustering based on hierarchy's defined within the Geometry Collection

	-----

Change 4199861 by Brice.Criswell

	GeometryCollection

	Disable Apeiron in the Collection.

	------

Change 4200089 by Brice.Criswell

	GeometryCollection

	Updated to enable Apeiron in the GeometryCollection when the bCompileAperion flag is enabled in the UnrealBuildTool.

	---

Change 4200333 by Brice.Criswell

	Copying //UE4/Dev-Destruction to Dev-Physics (//UE4/Dev-Physics)
	-----

Change 4202231 by Michael.Lentine

	Disable collisions between adjacent bodies connected by a joint. This typically would be specified by an artist but classic PhysX always does this uncondintionally so our clients are used to this.

Change 4202748 by Michael.Lentine

	Fix 2015 compile.

Change 4204528 by Michael.Lentine

	Disable Apeiron.

Change 4206396 by Michael.Lentine

	Fix 2015 build. Static cast apparently is not an accetible conversion from uint32 to bool.

	#robomerge destruction

Change 4206604 by Michael.Lentine

	Fix for using ccd and kinematic.

	#jira UE-61694
	#robomerge destruction

Change 4206711 by mason.seay

	Refreshed Set Angular Drive nodes to clear out orphan pins

Change 4207286 by Brice.Criswell

	GeometryCollection

	Transform hierarchy evaluation within BoneHierarchy of the Collection.

	Parenting operations are implemented on an updated morphology using :
	ParentTransforms(UGeometryCollection* GeometryCollection, const int32 InsertAtIndex, const TArray<int32>& SelectedBones);

	To parent a new transform:

	int32 RootIndex << within len( TransformGroup ) or -1 for a non-parented node.
	int32 BoneIndex = Collection->AddElements(1, UGeometryCollection::TransformGroup);
	GeometryCollectionAlgo::ParentTransform(Collection, RootIndex, BoneIndex);
	Transform[BoneIndex] = <some transform within local space of the RootIndex>

	Default collections have all geometry not parented. The function EnsureSingleRoot was added to guarantee  that the collection has at least one parent node.
	FGeometryCollectionCommands::EnsureSinglRoot(UGeometryCollection* RestCollection)

	Then matrices relative to the collections root are calculated using:
	GlobalMatrices(UGeometryCollection* GeometryCollection, TArray<FTransform> & Transforms);

	Added Damage Threshold to GeometryCollectionActor

	------

Change 4208039 by Brice.Criswell

	GeometryCollection

	Fix for static include failure.

	---

Change 4208170 by Brice.Criswell

	GeometryCache

	SplitAlongYZ to support multiple levels and orientations.

	---

Change 4208174 by Michael.Lentine

	Avoid shadow warnings and switch logs to verbose instead of warnings.

	#robomerge destruction

Change 4210255 by Benn.Gallagher

	Static analysis fixes

Change 4210394 by Michael.Lentine

	Use correct particle type for updateconstraints.

Change 4211153 by Brice.Criswell

	Apeiron

	Exposing friction and coefficient of restitution to the actor.

	-----

Change 4213034 by michael.lentine

	Rename bounding volume

Change 4216783 by Michael.Lentine

	Committing cooking fix to Dev-Physics in order to get smoke tests running.

Change 4218078 by Benn.Gallagher

	Fixed memory and TLS slot leak caused by previous change to physics scene cleanup while cooking
	#jira UE-61633

Change 4219206 by Michael.Lentine

	Use the adaptor to get the rotation.

	#jira ue-61748

Change 4220469 by Benn.Gallagher

	Fixed overlaps re-triggering on movement due to bad transform chaining from component to phys actor to shape

	#jira UE-61703

Change 4220538 by Benn.Gallagher

	Fixed PhysX errors when setting global transforms of kinematic and static objects.

	#jira none

Change 4222138 by Michael.Lentine

	Update use of Vulkan on android.

Change 4222139 by Michael.Lentine

	Update OculusHMD plugin to use correct vulkan search path.

Change 4225740 by Michael.Lentine

	Integrate changes to update rotation and mass.

Change 4225928 by michael.lentine

	Use more accurate collision point.

Change 4226560 by michael.lentine

	Enable contact graph

Change 4227397 by Michael.Lentine

	If we don't have a global scene we need to not detect collisions.

	#robomerge destruction

Change 4227410 by Michael.Lentine

	Missing include

	#robomerge destruction

Change 4228107 by Michael.Lentine

	Integrate static contact changes.

Change 4228612 by michael.lentine

	Use more correct thresholding.

Change 4228734 by Benn.Gallagher

	Getting LLImmediate high level stood up and simulating

	Implementation is incomplete, only what is required to get simple scenes simulating under immediate mode

Change 4228748 by Benn.Gallagher

	Missed file from checkin

Change 4228885 by Ori.Cohen

	Added base physics interface class to help provide default behavior and easily chain functionality together

Change 4228992 by Ori.Cohen

	Fix cis

Change 4229921 by Benn.Gallagher

	Fixed contact pre-filter performance regression

Change 4230825 by Benn.Gallagher

	Moved WIP physics interfaces to Experimental/ folders

Change 4230853 by Benn.Gallagher

	Fixup includes after moving WIP physics interfaces

Change 4231414 by Michael.Lentine

	Use global namespace to avoid mac compile errors.

	#jira ue-62137

[CL 4242847 by Michael Lentine in Main branch]
2018-07-31 02:23:26 -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