Module |
|
Header |
/Engine/Source/Runtime/Engine/Classes/Components/SkeletalMeshComponent.h |
Include |
#include "Components/SkeletalMeshComponent.h" |
Source |
/Engine/Source/Runtime/Engine/Private/SkeletalMeshComponentPhysics.cpp |
void AddClothCollisionSource
(
USkeletalMeshComponent * InSourceComponent,
UPhysicsAsset * InSourcePhysicsAsset
)
Add a collision source for the cloth on this component. Each cloth tick, the collision defined by the physics asset, transformed by the bones in the source component, will be applied to cloth.
Parameter |
Description |
---|---|
InSourceComponent |
The component to extract collision transforms from |
InSourcePhysicsAsset |
The physics asset that defines the collision primitives (that will be transformed by InSourceComponent's bones) |