Add animated model pose handling as a input to cloth for proper character clothing sim

This commit is contained in:
Wojtek Figat
2023-07-14 17:10:09 +02:00
parent 68d97fcc48
commit aef3ae14d4
3 changed files with 115 additions and 9 deletions

View File

@@ -338,6 +338,7 @@ private:
bool CreateCloth();
void DestroyCloth();
void CalculateInvMasses(Array<float>& invMasses);
void OnUpdated();
void OnPreUpdate();
void OnPostUpdate();
void RunClothDeformer(const MeshBase* mesh, struct MeshDeformationData& deformation);
};