FAnimPhysLinearLimit

Windows
MacOS
Linux

Inheritance Hierarchy

FAnimPhysLimit

FAnimPhysLinearLimit

References

Module

Engine

Header

/Engine/Source/Runtime/Engine/Public/Animation/AnimPhysicsSolver.h

Include

#include "Animation/AnimPhysicsSolver.h"

Syntax

class FAnimPhysLinearLimit : public FAnimPhysLimit

Variables

Name Description

Public variable

FVector

 

FirstPosition

Position of anchor on first object (in first object local space)

Public variable

float

 

InverseInertiaImpulse

Cached denominator of the impulse calculation, doesn't change across iterations.

Public variable

FVector

 

LimitNormal

Normal along which the limit is applied.

Public variable

float

 

Maximumforce

Maximum force this limit can apply along the normal.

Public variable

float

 

MinimumForce

Minimum force this limit can apply along the normal.

Public variable

FVector

 

SecondPosition

Position of anchor on second object (in second object local space)

Public variable

float

 

SumImpulses

Sum of impulses applied.

Public variable

float

 

TargetSpeed

Target speed needed to solve the limit.

Public variable

float

 

TargetSpeedWithoutBias

Target speed of the limit without bias (force added just to solve limit)

Public variable

FVector

 

WorldSpacePosition0

Cached world space position on body 0.

Public variable

FVector

 

WorldSpacePosition1

Cached world space position on body 1.

Constructors

Name Description

Public function

FAnimPhysLinearLimit()

Public function

FAnimPhysLinearLimit

(
    FAnimPhysRigidBody* InFirstBod...,
    FAnimPhysRigidBody* InSecondBo...,
    const FVector& InFirstPosition,
    const FVector& InSecondPosition,
    const FVector& InNormal,
    float InTargetSpeed,
    float InTargetSpeedWithoutBias,
    const FVector2D& InForceRange
)

Functions

Name Description

Public function

void

 

Iter

(
    float DetlaTime
)

Solve the limit

Public function

void

 

RemoveBias()

Remove bias added to solve the limit

Public function

void

 

UpdateCachedData()

Help shape the future of Unreal Engine documentation! Tell us how we're doing so we can serve you better.
Take our survey
Dismiss