Navigation
API > API/Runtime > API/Runtime/AnimGraphRuntime > API/Runtime/AnimGraphRuntime/BoneControllers
References
| Module | AnimGraphRuntime |
| Header | /Engine/Source/Runtime/AnimGraphRuntime/Public/BoneControllers/AnimNode_AnimDynamics.h |
| Include | #include "BoneControllers/AnimNode_AnimDynamics.h" |
Syntax
USTRUCT ()
struct FAnimPhysConstraintSetup
Remarks
Constraint setup struct, holds data required to build a physics constraint
Variables
| Type | Name | Description | |
|---|---|---|---|
| AnimPhysAngularConstraintType | AngularConstraintType | Method to use when constraining angular motion | |
| FVector | AngularLimitsMax | ||
| FVector | AngularLimitsMin | ||
| FVector | AngularTarget | The axis to align the angular spring constraint to in the animation pose. | |
| AnimPhysTwistAxis | AngularTargetAxis | The axis in the simulation pose to align to the Angular Target. | |
| bool | bLinearFullyLocked | If all axes are locked we can use 3 linear limits instead of the 6 needed for limited axes | |
| float | ConeAngle | Angle to use when constraining using a cone | |
| FVector | LinearAxesMax | Maximum linear movement per-axis (Set zero here and in the min limit to lock) | |
| FVector | LinearAxesMin | Minimum linear movement per-axis (Set zero here and in the max limit to lock) | |
| AnimPhysLinearConstraintType | LinearXLimitType | Whether to limit the linear X axis | |
| AnimPhysLinearConstraintType | LinearYLimitType | Whether to limit the linear Y axis | |
| AnimPhysLinearConstraintType | LinearZLimitType | Whether to limit the linear Z axis | |
| AnimPhysTwistAxis | TwistAxis | Axis to consider for twist when constraining angular motion (forward axis) |
Constructors
| Type | Name | Description | |
|---|---|---|---|
Deprecated Variables
| Type | Name | Description | |
|---|---|---|---|
| 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) | |
| 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) | |
| 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) |