Navigation
API > API/Runtime > API/Runtime/Engine > API/Runtime/Engine/Animation
Inheritance Hierarchy
- FAnimPhysLimit
- FAnimPhysAngularLimit
References
Module | Engine |
Header | /Engine/Source/Runtime/Engine/Public/Animation/AnimPhysicsSolver.h |
Include | #include "Animation/AnimPhysicsSolver.h" |
Syntax
class FAnimPhysAngularLimit : public FAnimPhysLimit
Remarks
Angular limit, keeps angular torque around an axis within a defined range
Variables
Type | Name | Description | |
---|---|---|---|
![]() |
float | CachedSpinToTorque | Cached spin to torque value that is independant of iterations. |
![]() |
float | MaximumTorque | Maximum torque this limit can apply. |
![]() |
float | MinimumTorque | Minimum torque this limit can apply. |
![]() |
float | TargetSpin | The required spin required to align the limit. |
![]() |
float | Torque | Rotational impulse. |
![]() |
FVector | WorldSpaceAxis | Axis of the limit in world space. |
Constructors
Type | Name | Description | |
---|---|---|---|
![]() |
|||
![]() |
FAnimPhysAngularLimit
(
FAnimPhysRigidBody* InFirstBody, |
Functions
Type | Name | Description | |
---|---|---|---|
![]() |
void | Iter
(
float DeltaTime |
Solve the limit |
![]() |
void | RemoveBias () |
Remove bias added to solve the limit |
![]() |
void |