USkeletalMeshComponent::SetConstraintProfileForAll

Sets the constraint profile properties (limits, motors, etc...) to match the constraint profile as defined in the physics asset for all constraints.

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 SetConstraintProfileForAll
(
    FName ProfileName,
    bool bDefaultIfNotFound
)

Remarks

Sets the constraint profile properties (limits, motors, etc...) to match the constraint profile as defined in the physics asset for all constraints. If profile name is not found the joint is set to use the default constraint profile.

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