USkeletalMeshComponent::AddClothCollisionSource

Add a collision source for the cloth on this component.

Windows
MacOS
Linux

References

Module

Engine

Header

/Engine/Source/Runtime/Engine/Classes/Components/SkeletalMeshComponent.h

Include

#include "Components/SkeletalMeshComponent.h"

Source

/Engine/Source/Runtime/Engine/Private/SkeletalMeshComponentPhysics.cpp

Syntax

void AddClothCollisionSource
(
    USkeletalMeshComponent * InSourceComponent,
    UPhysicsAsset * InSourcePhysicsAsset
)

Remarks

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.

Parameters

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)

Help shape the future of Unreal Engine documentation! Tell us how we're doing so we can serve you better.
Take our survey
Dismiss