Commit Graph

28 Commits

Author SHA1 Message Date
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
peter knepley
5d9de202ba Optional thread safety locks for modular features. Ensure when doing unsafe calls into modular feature enumeration functions.
Use thread safety locks when finding latency marker modular features from rhi thread

#rb Mike.Fricker

#ROBOMERGE-AUTHOR: peter.knepley
#ROBOMERGE-SOURCE: CL 19015311 via CL 19015708 via CL 19015763 via CL 19015857 via CL 19016025 via CL 19031920
#ROBOMERGE-BOT: UE5 (Release-Engine-Staging -> Main) (v917-18934589)

[CL 19032149 by peter knepley in ue5-main branch]
2022-02-17 03:41:20 -05:00
kriss gossart
4c2cc665c8 Chaos Cloth - Add environmental collision support.
#rb Cedric.Caillaud
#jira nojira
#preflight 61b099e8e0430ca4388f1322

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

[CL 18404817 by kriss gossart in ue5-release-engine-test branch]
2021-12-08 07:57:27 -05:00
zousar shaker
836bd0854d Automated search-and-replace pass to change uses of UE_TRANSITIONAL_OBJECT_PTR(Type) to TObjectPtr<Type>.
There were two instance of the type being incorrect and they were manually fixed.

#rb none

#ROBOMERGE-AUTHOR: zousar.shaker
#ROBOMERGE-SOURCE: CL 17472048 in //UE5/Main/...
#ROBOMERGE-BOT: STARSHIP (Main -> Release-Engine-Test) (v870-17433530)

[CL 17472069 by zousar shaker in ue5-release-engine-test branch]
2021-09-09 10:07:44 -04:00
zousar shaker
f092ebb249 Callsite upgrades needed to permit a refresh of Wrapped Object Pointer usage in Engine + ShooterGame
#rb none
#preflight 60f0a0000123b700014f44da

#ROBOMERGE-SOURCE: CL 16868579 in //UE5/Main/...
#ROBOMERGE-BOT: STARSHIP (Main -> Release-Engine-Test) (v836-16769935)

[CL 16868587 by zousar shaker in ue5-release-engine-test branch]
2021-07-15 18:13:08 -04:00
zousar shaker
bbbbf1b55d Fixing callsites for new raw pointer to TObjectPtr upgrade pass on Engine + ShooterGame.
#rb none

#ROBOMERGE-SOURCE: CL 16640949 in //UE5/Main/...
#ROBOMERGE-BOT: STARSHIP (Main -> Release-Engine-Test) (v831-16623017)

[CL 16640952 by zousar shaker in ue5-release-engine-test branch]
2021-06-11 10:10:05 -04:00
Marc Audy
01b7c9f4f5 Merge UE5/RES @ 15958325 to UE5/Main
This represents UE4/Main @ 15913390 and Dev-PerfTest @ 15913304

[CL 15958515 by Marc Audy in ue5-main branch]
2021-04-08 14:32:07 -04:00
Marc Audy
9753392e2b Merge UE5/RES CL# 15462083 to UE5/Main
This represents UE4/Main @ 15414221

[CL 15463811 by Marc Audy in ue5-main branch]
2021-02-18 18:13:28 -04:00
Ryan Durand
54168a659e Updating more copyrights to remove years.
#rnx
#rb none
#jira none

[CL 10898929 by Ryan Durand in Main branch]
2020-01-07 17:07:47 -05:00
kriss gossart
c6c3bac263 Chaos Cloth - Refactor the cloth simulation and context classes.
- Move the IClothingSimulation and IClothingSimulationContext definitions from ClothingSimulation.h/cpp to ClothingSimulationInterface.h/cpp files to make place for the FClothingSimulationCommon definitions.
- Move common simulation and context implementation from the ClothingSystemRuntimeInterface to the ClothingSystemRuntimeCommon module.
- Merge common code used in Nv and Chaos cloth simulations, and remove duplicated code where possible.
- Move specific FillContext behaviors out of the base simulation class and into the context subclasses.

#rb Benn.Gallagher
[FYI] Jaco.VanDyk

Merge: CL 10878385, CL10879173
Release-11.40-Chaos -> Release-12.00


#ROBOMERGE-SOURCE: CL 10879538 via CL 10879553 via CL 10879562
#ROBOMERGE-BOT: (v626-10872990)

[CL 10880533 by kriss gossart in Main branch]
2020-01-06 12:54:08 -05:00
ryan durand
0f0464a30e Updating copyright for Engine Runtime.
#rnx
#rb none


#ROBOMERGE-OWNER: ryan.durand
#ROBOMERGE-AUTHOR: ryan.durand
#ROBOMERGE-SOURCE: CL 10869210 via CL 10869511 via CL 10869900
#ROBOMERGE-BOT: (v613-10869866)

[CL 10870549 by ryan durand in Main branch]
2019-12-26 14:45:42 -05:00
kriss gossart
a18007f52d Move common clothing asset functionalities to ClothingSystemRuntimeCommon to enable Chaos Cloth authoring.
Create a new ClothingSimulationFactory function to get the definitive default factory, for whatever cloth factories are actually enabled.
Rework nv cloth/apex dependencies in the ClothingSystemRuntimeNv module to allow the move of the legacy components and common config elements to the common module.
Add legacy cloth asset and runtime components to the common module to allow legacy assets to be loaded in a Chaos simulation, even with nv cloth disabled.
Allow storage of several configs to coexist in the ClothingAsset object config map, with their names as the key.
Resurrect the cloth physical mesh data structure to avoid the UClass overhead.
Add migration functions and BaseEngine redirectors to keep backward compatibility with legacy cloth assets, and assets saved after Ryan's refactor.

#rb Benn.Gallagher, Jaco.VanDyk


#ROBOMERGE-SOURCE: CL 10634739 via CL 10634740 via CL 10634741
#ROBOMERGE-BOT: (v608-10590470)

[CL 10634742 by kriss gossart in Main branch]
2019-12-10 05:02:44 -05:00
kriss gossart
1c13ec71c3 Add comments to GetDefaultClothingSimulationFactoryClass, and make the dereference to UClass more explicit.
#rb Jaco.VanDyk
[FYI] Chris.Caulfield
#jira


#ROBOMERGE-SOURCE: CL 10236572 via CL 10239406 via CL 10239689
#ROBOMERGE-BOT: (v591-10236483)

[CL 10240027 by kriss gossart in Main branch]
2019-11-15 09:16:13 -05:00
kriss gossart
7fa3fb770c Fix crash while getting default cloth simulation factory when built with Chaos and running without the Chaos Cloth plugin.
[FYI] Jaco.VanDyk, Chris.Caulfield, Brice.Criswell
#jira


#ROBOMERGE-SOURCE: CL 10153356 via CL 10155228 via CL 10155382
#ROBOMERGE-BOT: (v587-10111126)

[CL 10155476 by kriss gossart in Main branch]
2019-11-13 14:53:49 -05:00
kriss gossart
180ef3f2b1 Fix CIS error when all cloth simulations types are disable in build.
#ROBOMERGE-SOURCE: CL 10126205 via CL 10126445 via CL 10126563
#ROBOMERGE-BOT: (v587-10111126)

[CL 10126647 by kriss gossart in Main branch]
2019-11-13 12:13:43 -05:00
kriss gossart
dc9c555375 Set the correct default clothing simulation factory based on the target build defines.
Add a new function that returns the correct default clothing simulation factory.
Add a new p.Cloth.DefaultClothingFactoryClass console variable to change the default at runtime.
Update the SkeletalMeshComponent code to use the correct default clothing simulation factory.
Deprecate the IClothingSimulationFactoryClassProvider::GetDefaultSimulationFactoryClass() and add a new IClothingSimulationFactoryClassProvider::GetSimulationFactoryClass() function to remove any ambiguity about what the correct way to get the provider's class, or the default class.

#rb Ryan.Kautzman, Jaco.VanDyk


#ROBOMERGE-SOURCE: CL 10124312 via CL 10124362 via CL 10124409
#ROBOMERGE-BOT: (v587-10111126)

[CL 10124441 by kriss gossart in Main branch]
2019-11-13 10:33:19 -05:00
kriss gossart
9b11c2a5bd Rename ClothPhysicalMeshData files to ClothPhysicalMeshDataBase to match the other class/file names and allow for a common runtime version.
[FYI] Benn.Gallagher, Jaco.VanDyk


#ROBOMERGE-SOURCE: CL 10005752 via CL 10005832
#ROBOMERGE-BOT: (v562-10004402)

[CL 10005847 by kriss gossart in Main branch]
2019-11-05 07:32:18 -05:00
kriss gossart
6c392a35cc Rename ClothConfig files to ClothConfigBase in line with the class name definition.
#rb Benn.Gallagher
[FYI] Jaco.VanDyk


#ROBOMERGE-SOURCE: CL 9969464 via CL 9969468
#ROBOMERGE-BOT: (v560-9963197)

[CL 9969469 by kriss gossart in Main branch]
2019-11-04 12:47:03 -05:00
kriss gossart
89ffedd265 Reworked the Chaos Cloth Convex collisions to use a Chaos TConvex implicit.
Also:
-Regenerate the convexes' surface points for the legacy apex cloth assets (apparently the only use of convexes in apex import was to emulate box collisions).
-Add debug draw visualization for the Chaos Cloth editor.

#rb Jaco.VanDyk
[FYI] Benn.Gallagher


#ROBOMERGE-SOURCE: CL 9894041 via CL 9894049
#ROBOMERGE-BOT: (v558-9892490)

[CL 9894053 by kriss gossart in Main branch]
2019-10-30 14:12:32 -04:00
kriss gossart
9b9bb4de8a Fix Chaos Cloth's external collision setup and the collision transform updates.
Also:
-Add the missing DestroyActors() implementation to stop leaking particles when the cloth asset are modified.
-Reimplement the collision visualization to draw the actual simulation collisions rather than the asset collision volumes.
-Split the collision creation from CreateActors into new functions.
-Fixed the size of the capsule colllision in the Chaos Cloth visualization.
-Slight general tidy up.
#rb Benn.Gallagher, Jaco.VanDyk


#ROBOMERGE-SOURCE: CL 9547657 via CL 9547681
#ROBOMERGE-BOT: (v521-9539702)

[CL 9547683 by kriss gossart in Main branch]
2019-10-11 10:07:14 -04:00
bob tellez
b630afc4b0 #UE4 Add many missing copyrights
#ROBOMERGE-SOURCE: CL 9395652 via CL 9402665
#ROBOMERGE-BOT: (v456-9359915)

[CL 9402691 by bob tellez in Main branch]
2019-10-03 13:36:51 -04:00
michael lentine
acbc579509 Copy from //Fortnite/Dev-Physics
#rb none


#ROBOMERGE-OWNER: michael.lentine
#ROBOMERGE-AUTHOR: michael.lentine
#ROBOMERGE-SOURCE: CL 9374650 via CL 9374665
#ROBOMERGE-BOT: (v456-9359915)

[CL 9385990 by michael lentine in Main branch]
2019-10-02 17:27:26 -04:00
Michael Lentine
9db7de9fdf Copying //UE4/Dev-Physics to Dev-Main (//UE4/Dev-Main) [at] 9098278
#rb none
#rnx

[CL 9098401 by Michael Lentine in Main branch]
2019-09-25 13:55:37 -04: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
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