SimulerBas
// UNovTissuLibrary
static FString SimulerBas(USkeletalMesh* Mesh, FName SimSlot, FName RenderSlot, UPhysicsAsset* PhysicsAsset, float MaxDistance)
Turns the lower part of a robe into simulated cloth (Chaos Cloth).
Parameters#
- Mesh (
USkeletalMesh*): the robe - SimSlot (
FName): slot of the simulation sheet - RenderSlot (
FName): slot of the displayed part - PhysicsAsset (
UPhysicsAsset*): body the cloth does not go through - MaxDistance (
float): freedom at the hem in cm, 70 by default
Returns#
FString: "OK …" or the reason for the failure
Notes#
- Only has an effect in the editor.