FLinearConstraint

Distance constraint

Windows
MacOS
Linux

Inheritance Hierarchy

FConstraintBaseParams

FLinearConstraint

References

Module

Engine

Header

/Engine/Source/Runtime/Engine/Classes/PhysicsEngine/ConstraintTypes.h

Include

#include "PhysicsEngine/ConstraintTypes.h"

Syntax

struct FLinearConstraint : public FConstraintBaseParams

Remarks

Distance constraint

Variables

Name Description

Public variable

float

 

Limit

The distance allowed between the two joint reference frames.

Public variable

TEnumAsByte< en...

 

XMotion

Indicates the linear constraint applied along the X-axis.

Public variable

TEnumAsByte< en...

 

YMotion

Indicates the linear constraint applied along the Y-axis.

Public variable

TEnumAsByte< en...

 

ZMotion

Indicates the linear constraint applied along theZX-axis.

Constructors

Name Description

Public function

FLinearConstraint()

Functions

Name Description

Public function Const

void

 

UpdateLinearLimit_AssumesLocked

(
    const FPhysicsConstraintHandle& In...,
    float AverageMass,
    float Scale
)

Updates physx linear constraint from unreal data.

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