Navigation
API > API/Runtime > API/Runtime/Engine > API/Runtime/Engine/Animation > API/Runtime/Engine/Animation/FAnimPhys
References
Module | Engine |
Header | /Engine/Source/Runtime/Engine/Public/Animation/AnimPhysicsSolver.h |
Include | #include "Animation/AnimPhysicsSolver.h" |
Source | /Engine/Source/Runtime/Engine/Private/Animation/AnimPhysicsSolver.cpp |
static void ConstrainAngularRangeInternal
(
float DeltaTime,
TArray < FAnimPhysAngularLimit > & LimitContainer,
FAnimPhysRigidBody * FirstBody,
const FQuat & JointFrame0,
FAnimPhysRigidBody * SecondBody,
const FQuat & JointFrame1,
AnimPhysTwistAxis TwistAxis,
const FVector & InJointLimitMin,
const FVector & InJointLimitMax,
float InJointBias
)
Remarks
Internal version of constrain angular. ConstrainAngularRange can work out some of these params so wraps this
Parameters
Name | Description |
---|---|
LimitContainer | Container to add limits to |
FirstBody | First body in the constraint (or nullptr for world) |
JointFrame0 | Frame/Rotation of the first side of the joint |
SecondBody | Second body in the constraint |
JointFrame1 | Frame/Rotation of the second side of the joint |
TwistAxis | Axis to consider as the twist axis |
InJointLimitMin | Minimum limits for the joint (twist axis ignored, always locked) |
InJointLimitMax | Maximum limits for the joint (twist axis ignored, always locked) |