FAnimPhysConstraintSetup

Constraint setup struct, holds data required to build a physics constraint

Windows
MacOS
Linux

References

Module

AnimGraphRuntime

Header

/Engine/Source/Runtime/AnimGraphRuntime/Public/BoneControllers/AnimNode_AnimDynamics.h

Include

#include "BoneControllers/AnimNode_AnimDynamics.h"

Syntax

struct FAnimPhysConstraintSetup

Remarks

Constraint setup struct, holds data required to build a physics constraint

Variables

Name Description

Public variable

AnimPhysAngular...

 

AngularConstraintType

Method to use when constraining angular motion

Public variable

FVector

 

AngularLimitsMax

Public variable

FVector

 

AngularLimitsMin

Public variable

FVector

 

AngularTarget

The axis to align the angular spring constraint to in the animation pose.

Public variable

AnimPhysTwistAx...

 

AngularTargetAxis

The axis in the simulation pose to align to the Angular Target.

Public variable

bool

 

bLinearFullyLocked

If all axes are locked we can use 3 linear limits instead of the 6 needed for limited axes

Public variable

float

 

ConeAngle

Angle to use when constraining using a cone

Public variable

FVector

 

LinearAxesMax

Maximum linear movement per-axis (Set zero here and in the min limit to lock)

Public variable

FVector

 

LinearAxesMin

Minimum linear movement per-axis (Set zero here and in the max limit to lock)

Public variable

AnimPhysLinearC...

 

LinearXLimitType

Whether to limit the linear X axis

Public variable

AnimPhysLinearC...

 

LinearYLimitType

Whether to limit the linear Y axis

Public variable

AnimPhysLinearC...

 

LinearZLimitType

Whether to limit the linear Z axis

Public variable

AnimPhysTwistAx...

 

TwistAxis

Axis to consider for twist when constraining angular motion (forward axis)

Constructors

Name Description

Public function

FAnimPhysConstraintSetup()

Deprecated Variables

Name Description

Public variable

float

 

AngularXAngle_DEPRECATED

X-axis limit for angular motion when using the "Angular" constraint type (Set to 0 to lock, or 180 to remain free)

Public variable

float

 

AngularYAngle_DEPRECATED

Y-axis limit for angular motion when using the "Angular" constraint type (Set to 0 to lock, or 180 to remain free)

Public variable

float

 

AngularZAngle_DEPRECATED

Z-axis limit for angular motion when using the "Angular" constraint type (Set to 0 to lock, or 180 to remain 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