USkeletalMeshComponent::SetAngularLimits

Sets the Angular Motion Ranges for a named bone

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 SetAngularLimits
(
    FName InBoneName,
    float Swing1LimitAngle,
    float TwistLimitAngle,
    float Swing2LimitAngle
)

Remarks

Sets the Angular Motion Ranges for a named bone

Parameters

Parameter

Description

InBoneName

Name of bone to adjust constraint ranges for

Swing1LimitAngle

Size of limit in degrees, 0 means locked, 180 means free

TwistLimitAngle

Size of limit in degrees, 0 means locked, 180 means free

Swing2LimitAngle

Size of limit in degrees, 0 means locked, 180 means free

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