USkeletalMeshComponent::GetConstraintsFromBody

Gets all the constraints attached to a body

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 GetConstraintsFromBody
(
    FName BodyName,
    bool bParentConstraints,
    bool bChildConstraints,
    bool bIncludesTerminated,
    TArray< FConstraintInstanceAccessor > & OutConstraints
)

Remarks

Gets all the constraints attached to a body

Parameters

Parameter

Description

BodyName

name of the body to get the attached constraints from

bParentConstraints

return constraints where BodyName is the child of the constraint

bChildConstraints

return constraints where BodyName is the parent of the constraint

bParentConstraints

return constraints attached to the parent of the body

IncludesTerminated

whether or not to return terminated constraints

OutConstraints

returned list of constraints matching the parameters

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