Navigation
Unreal Engine C++ API Reference > Runtime > Engine > PhysicsEngine
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
Type | Name | Description | |
---|---|---|---|
![]() |
float | Limit | The distance allowed between the two joint reference frames. |
![]() |
TEnumAsByte< enum ELinearConstraintMotion > | XMotion | Indicates the linear constraint applied along the X-axis. |
![]() |
TEnumAsByte< enum ELinearConstraintMotion > | YMotion | Indicates the linear constraint applied along the Y-axis. |
![]() |
TEnumAsByte< enum ELinearConstraintMotion > | ZMotion | Indicates the linear constraint applied along theZX-axis. |
Constructors
Type | Name | Description | |
---|---|---|---|
![]() |
Functions
Type | Name | Description | |
---|---|---|---|
![]() ![]() |
void | UpdateLinearLimit_AssumesLocked
(
const FPhysicsConstraintHandle& InConstraintRef, |
Updates physx linear constraint from unreal data. |