You've already forked UnrealEngineUWP
mirror of
https://github.com/izzy2lost/UnrealEngineUWP.git
synced 2026-03-26 18:15:20 -07:00
Since Chaos Cloth caches are now read in two places (SkeletalMeshComponentCacheAdapter and ClothComponentCacheAdapter), I created a few new structs to share code. ClothingSimulationCacheData holds cache data that is read for the associated context. ChaosClothingCacheSchema reads and writes cache data. We need to write the ReferenceSpaceTransform as part of caching and then to read it back and set it. Additionally, I'm now only writing the particles that have been simulated (namely other LOD particles will no longer be cached). ChaosCache has been updated to be able to store named transforms (rather than just per-particle transforms) Existing cloth caches will continue to work. They simply don't have the transform data. #preflight 63f02662977ceed915637592 #rb michael.forot kriss.gossart [CL 24318632 by Alex McAdams in ue5-main branch]