Commit Graph

104 Commits

Author SHA1 Message Date
kriss gossart
593ffac9c3 Cloth - Deprecate APEX collision from the ClothLODData structure.
#rb Benn.Gallagher
#preflight 63726df2b6636838286d0ccc
#jira none

[CL 23133965 by kriss gossart in ue5-main branch]
2022-11-15 06:25:00 -05:00
henrik karlsson
b5b86c796c This change is a strategical submit for a coming change that removes lots of includes in headers that are included by many files. This change contains adding of includes in files that previously got those includes transitively from other inclkudes
#preflight 6355d4940313c24974b2107b
#rb none

[CL 22783162 by henrik karlsson in ue5-main branch]
2022-10-26 12:57:32 -04:00
kriss gossart
892b1eb70c Cloth - Fixed a potential division by zero with a 0 delta time while setting up the context. Also the solver velocity scale is now set to 0 when any cloth teleport mode is activated to match the internal solver behavior.
#rb Benn.Gallagher
#preflight 634d69f7d737d61a2fefe0ae
#jira none

[CL 22652052 by kriss gossart in ue5-main branch]
2022-10-20 06:10:03 -04:00
Matt Peters
3b57fa2789 IncrementalCooking: Add DeclareConstructClasses for classes that need it. Fix some transient UObjects that assert they are never persistently serialized to support Serialize being called on their ClassDefaultObject to support DeclareCustomVersions.
#rb Zousar.Shaker
#rnx
#preflight 63497341f622f6c4bb1dd625

[CL 22529151 by Matt Peters in ue5-main branch]
2022-10-14 12:42:43 -04:00
kriss gossart
25cdb979d6 Chaos Cloth - Fix the velocity calculations when MaxPhysicsDelta kicks in.
- Add velocity debug draw.
- Draw aerodynamic forces in different colors depending on whether the particle is kinematic/dynamic.

#[rb Michael.Forot]
#[preflight 62bd89183f0d6beee282f026]
#[okforgithub public]
#[jira none]
[Edigrate CL 20895640]

#rb trivial
#preflight 6336bcd3e72271755f07f746
#jira UE-162974

[CL 22271819 by kriss gossart in ue5-main branch]
2022-09-30 11:41:20 -04:00
danny couture
ceda239238 Do not PreEditChange skeletal mesh while building in async task
#rb Alexis.Matte
#preflight none

[CL 22220668 by danny couture in ue5-main branch]
2022-09-28 08:43:51 -04:00
marc audy
311f7464bf Updated ../Engine/Source/Runtime/... to inline gen.cpp files
Before:
3648 unity files
Total CPU Time: 47886.140625 s
Total time in Parallel executor: 498.81 seconds

After:
3548 unity files
Total CPU Time: 46643.828125 s
Total time in Parallel executor: 486.06 seconds

#jira
#preflight

[CL 22173263 by marc audy in ue5-main branch]
2022-09-24 13:57:58 -04:00
bryan sefcik
cb0456c6d4 Cleaned up build.cs files by removing any include paths that were already being added by UBT. This was done to help identify how include paths are being added and to help with future refactoring.
#jira
#preflight 631a5c04967ffc68fbf0dd8f

[CL 21911226 by bryan sefcik in ue5-main branch]
2022-09-08 21:44:02 -04:00
Michael Forot
16994e043c Chaos cloth support for the chaos cache
#rb kriss.gossart
#jira none
#preflight 6303947ffa1ac183e5e8f152

[CL 21484267 by Michael Forot in ue5-main branch]
2022-08-22 11:19:48 -04:00
kriss gossart
0422ca7705 Skeletal Mesh - Replace the newly created GetSkeletalMesh function by GetSkeletalMeshAsset so it matches the setter SetSkeletalMeshAsset function (which itself couldn't be named SetSkeletalMesh due to the function already existing and doing something else).
#rb Josie.Yang
#preflight 62fa2afeae3edb54c979492e
#jira none

[CL 21385959 by kriss gossart in ue5-main branch]
2022-08-15 09:26:50 -04:00
Bryan sefcik
b4a6e947d8 Ran IWYU on Public headers under Engine/Source/Runtime/...
Headers are updated to contain any missing #includes needed to compile and #includes are sorted.  Nothing is removed.

#ushell-cherrypick of 21065896 by bryan.sefcik
#preflight 62d4b1a5a6141b6adfb0c892
#jira

#ROBOMERGE-OWNER: Bryan.sefcik
#ROBOMERGE-AUTHOR: bryan.sefcik
#ROBOMERGE-SOURCE: CL 21150156 via CL 21151754 via CL 21154719
#ROBOMERGE-BOT: UE5 (Release-Engine-Staging -> Main) (v972-20964824)
#ROBOMERGE-CONFLICT from-shelf

[CL 21181076 by Bryan sefcik in ue5-main branch]
2022-07-20 11:31:36 -04:00
jaime cifuentes
7fabb99aaf Inclusive Terminology Push - Part of UE-158645, UE-158525, UE-158532
Renamed / deprecated master/slave terms at SkinnedMeshComponent and SkeletalMeshComponent (plus all the users)

#jira UE-158645, UE-158525, UE-158532
#review @thomas.sarkanen @john.vanderburg
#preflight 62ced88af324cee189e48d43
#tests Verified the properties transfer correctly after modifying them without the fix and loading the character with the component with the fix applied
#preflight 62cfc490c36afd11ef07c9ab

[CL 21088391 by jaime cifuentes in ue5-main branch]
2022-07-14 03:55:26 -04:00
Josie Yang
6b15506e58 Replace direct access to SkeletalMesh object from USkinnedMeshComponent with GetSkeletalMesh function
#rb kriss.gossart
#preflight 62aafc9ada0af39a4783930a

[CL 20686007 by Josie Yang in ue5-main branch]
2022-06-16 09:14:04 -04:00
kriss gossart
36c86bfaa1 Chaos Cloth - Fix the shared config ownership that is preventing some Skeletal Mesh assets from saving. [Edigrate CL 20537489]
#rb trivial
#preflight 62a075bee07732d52dc5e86f

#ROBOMERGE-AUTHOR: kriss.gossart
#ROBOMERGE-SOURCE: CL 20554658 via CL 20554662 via CL 20554665
#ROBOMERGE-BOT: UE5 (Release-Engine-Staging -> Main) (v954-20466795)

[CL 20559537 by kriss gossart in ue5-main branch]
2022-06-08 13:19:08 -04:00
Benn Gallagher
8757cb3641 Physics interface cleanup.
* Removed deprecated or dead code paths
* Simplified build system setup for physics support
* Deprecated build system flags and unsupported macros

#jira none
#rb Chris.Caulfield, Kriss.Gossart
#preflight 62963ec0fe779f23c8ea0c5e

[CL 20450744 by Benn Gallagher in ue5-main branch]
2022-06-01 06:59:18 -04:00
kriss gossart
2199b5bdb4 Cloth - Fix crash when attempting to rebuild fixed vert data on a missing cloth section.
#rb Alexis.Matte
#jira UE-96639
#preflight 622a11c0611f10dd07a4c22d

#ROBOMERGE-AUTHOR: kriss.gossart
#ROBOMERGE-SOURCE: CL 19337057 in //UE5/Release-5.0/... via CL 19348959
#ROBOMERGE-BOT: UE5 (Release-Engine-Staging -> Main) (v926-19321884)

[CL 19349172 by kriss gossart in ue5-main branch]
2022-03-10 23:55:24 -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
f089ae83f4 FMatrix explicit cast fixes
#preflight 61f277cbaf74b68515c0bd64

#ROBOMERGE-AUTHOR: andrew.davidson
#ROBOMERGE-SOURCE: CL 18751911 in //UE5/Release-5.0/... via CL 18751924 via CL 18752067
#ROBOMERGE-BOT: UE5 (Release-Engine-Test -> Main) (v903-18687472)

[CL 18752076 by andrew davidson in ue5-main branch]
2022-01-27 06:25:37 -05:00
zak middleton
36c99f6887 #ue5 - LWC: FVector4f <-> FVector4d conversion is now explicit.
FLinearColor has also been modified to make any double->float conversions explicit. Previously all 3D TVector versions were allowed to be implicit and thus could convert TVector<double> => FLinearColor => TVector4<float>.

Fixed up all engine and game casts. Added "//LWC_TODO: precision loss" around any explicit casts that previously were silently explicit and we may need to revisit for precision loss analysis.

#jira UE-122085
#rb Ben.Ingram, Andrew.Davidson
#preflight 61f24af473238441cb7bb0f1

#ROBOMERGE-AUTHOR: zak.middleton
#ROBOMERGE-SOURCE: CL 18751249 in //UE5/Release-5.0/... via CL 18751253 via CL 18751319
#ROBOMERGE-BOT: UE5 (Release-Engine-Test -> Main) (v903-18687472)

[CL 18751326 by zak middleton in ue5-main branch]
2022-01-27 03:30:41 -05:00
alexis matte
6abae71c29 Fix CIS build
#jira UE-137154
#rb none
[FYI] kriss.gossart

#ROBOMERGE-AUTHOR: alexis.matte
#ROBOMERGE-SOURCE: CL 18432577 in //UE5/Release-5.0/... via CL 18435406
#ROBOMERGE-BOT: STARSHIP (Release-Engine-Staging -> Release-Engine-Test) (v897-18405271)

[CL 18435897 by alexis matte in ue5-release-engine-test branch]
2021-12-10 18:06:53 -05:00
alexis matte
84c8523eb4 ClothingAssetUtils::GetMeshClothingAssetBindings Should not have a fallback on the render data. In case we have a scope that unbind/bind the cloth assets, the code in between can also unbind/bind the cloth assets, it has to do nothing in that case. Removing the fallback make the nested call behave correctly.
#rb kriss.gosart
#jira UE-137154
#preflight 61b379587540959e323373b2

#ROBOMERGE-AUTHOR: alexis.matte
#ROBOMERGE-SOURCE: CL 18431241 in //UE5/Release-5.0/... via CL 18435333
#ROBOMERGE-BOT: STARSHIP (Release-Engine-Staging -> Release-Engine-Test) (v897-18405271)

[CL 18435566 by alexis matte in ue5-release-engine-test branch]
2021-12-10 17:48:54 -05:00
kriss gossart
e25605831a Cloth - Rework the forced teleport after initialization to prevent any translation impulse on the first simulated frame.
#rb Evgenii.Babinets
#jira FORT-435388
#preflight 61b356fa073b3200631fdfc9

#ROBOMERGE-AUTHOR: kriss.gossart
#ROBOMERGE-SOURCE: CL 18430832 in //UE5/Release-5.0/... via CL 18435316
#ROBOMERGE-BOT: STARSHIP (Release-Engine-Staging -> Release-Engine-Test) (v897-18405271)

[CL 18435551 by kriss gossart in ue5-release-engine-test branch]
2021-12-10 17:47:52 -05:00
kriss gossart
b8533797d8 Cloth - Tidy up the ClothingMeshUtils files.
#rb Michael.Forot
#jira none
#preflight 619fc5b4974d7d5726c6d26c

#ROBOMERGE-AUTHOR: kriss.gossart
#ROBOMERGE-SOURCE: CL 18393851 in //UE5/Release-5.0/... via CL 18393854
#ROBOMERGE-BOT: STARSHIP (Release-Engine-Staging -> Release-Engine-Test) (v896-18170469)

[CL 18393858 by kriss gossart in ue5-release-engine-test branch]
2021-12-07 07:23:39 -05:00
kriss gossart
4a016cea45 Cloth - Fix the mesh descriptor averaged normals initializations that was preventing cloth binding to work.
#rb trivial
#jira none
#preflight 61a0fbc1ee100b68fa66827a

#ROBOMERGE-AUTHOR: kriss.gossart
#ROBOMERGE-SOURCE: CL 18300426 in //UE5/Release-5.0/... via CL 18300451
#ROBOMERGE-BOT: STARSHIP (Release-Engine-Staging -> Release-Engine-Test) (v895-18170469)

[CL 18300459 by kriss gossart in ue5-release-engine-test branch]
2021-11-26 11:00:33 -05:00
kriss gossart
68bc53abf9 Cloth - Fix BuildLodTransitionData() to use averaged normals to prevent a crash during cooking of the cloth assets.
#rb trivial
#jira none
#preflight 61a0d8120141b3c6da8f7d0d

#ROBOMERGE-AUTHOR: kriss.gossart
#ROBOMERGE-SOURCE: CL 18299555 in //UE5/Release-5.0/... via CL 18299567
#ROBOMERGE-BOT: STARSHIP (Release-Engine-Staging -> Release-Engine-Test) (v895-18170469)

[CL 18299574 by kriss gossart in ue5-release-engine-test branch]
2021-11-26 08:12:38 -05:00