Navigation
Unreal Engine C++ API Reference > Runtime > Engine > Components > USkeletalMeshComponent
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 |
UFUNCTION (BlueprintCallable, Category="Physics")
void SetConstraintProfile
(
FName JointName,
FName ProfileName,
bool bDefaultIfNotFound
)
Remarks
Sets the constraint profile properties (limits, motors, etc...) to match the constraint profile as defined in the physics asset. If profile name is not found the joint is set to use the default constraint profile.