Navigation
API > API/Runtime > API/Runtime/Engine
| Name | FAnimPhysLinearLimit |
| Type | class |
| Header File | /Engine/Source/Runtime/Engine/Public/Animation/AnimPhysicsSolver.h |
| Include Path | #include "Animation/AnimPhysicsSolver.h" |
Syntax
class FAnimPhysLinearLimit : public FAnimPhysLimit
Inheritance Hierarchy
- FAnimPhysLimit → FAnimPhysLinearLimit
Constructors
| Name | Remarks | Include Path | Unreal Specifiers |
|---|---|---|---|
| Animation/AnimPhysicsSolver.h | |||
FAnimPhysLinearLimit
(
FAnimPhysRigidBody* InFirstBody, |
Animation/AnimPhysicsSolver.h |
Variables
Public
| Name | Type | Remarks | Include Path | Unreal Specifiers |
|---|---|---|---|---|
| FirstPosition | FVector | Position of anchor on first object (in first object local space) | Animation/AnimPhysicsSolver.h | |
| InverseInertiaImpulse | float | Cached denominator of the impulse calculation, doesn't change across iterations. | Animation/AnimPhysicsSolver.h | |
| LimitNormal | FVector | Normal along which the limit is applied. | Animation/AnimPhysicsSolver.h | |
| Maximumforce | float | Maximum force this limit can apply along the normal. | Animation/AnimPhysicsSolver.h | |
| MinimumForce | float | Minimum force this limit can apply along the normal. | Animation/AnimPhysicsSolver.h | |
| SecondPosition | FVector | Position of anchor on second object (in second object local space) | Animation/AnimPhysicsSolver.h | |
| SumImpulses | float | Sum of impulses applied. | Animation/AnimPhysicsSolver.h | |
| TargetSpeed | float | Target speed needed to solve the limit. | Animation/AnimPhysicsSolver.h | |
| TargetSpeedWithoutBias | float | Target speed of the limit without bias (force added just to solve limit) | Animation/AnimPhysicsSolver.h | |
| WorldSpacePosition0 | FVector | Cached world space position on body 0. | Animation/AnimPhysicsSolver.h | |
| WorldSpacePosition1 | FVector | Cached world space position on body 1. | Animation/AnimPhysicsSolver.h |
Functions
Public
| Name | Remarks | Include Path | Unreal Specifiers |
|---|---|---|---|
void Iter
(
float DetlaTime |
Solve the limit | Animation/AnimPhysicsSolver.h | |
void RemoveBias() |
Remove bias added to solve the limit | Animation/AnimPhysicsSolver.h | |
void UpdateCachedData() |
Animation/AnimPhysicsSolver.h |