engine
 
载入中...
搜索中...
未找到
Public 成员函数 | Public 属性 | 所有成员列表
FLinearConstraint结构体 参考

Distance constraint 更多...

#include <ConstraintTypes.h>

继承自 FConstraintBaseParams .

Public 成员函数

void UpdateLinearLimit_AssumesLocked (const FPhysicsConstraintHandle &InConstraintRef, float AverageMass, float Scale) const
 Updates physx linear constraint from unreal data.
 

Public 属性

float Limit
 The distance allowed between 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. 更多...
 

详细描述

Distance constraint

类成员变量说明

◆ Limit

float FLinearConstraint::Limit

The distance allowed between between the two joint reference frames.

Distance applies on all axes enabled (one axis means line, two axes implies circle, three axes implies sphere)

◆ XMotion

TEnumAsByte<enum ELinearConstraintMotion> FLinearConstraint::XMotion

Indicates the linear constraint applied along the X-axis.

Free implies no constraint at all. Locked implies no movement along X is allowed. Limited implies the distance in the joint along all active axes must be less than the Distance provided.

◆ YMotion

TEnumAsByte<enum ELinearConstraintMotion> FLinearConstraint::YMotion

Indicates the linear constraint applied along the Y-axis.

Free implies no constraint at all. Locked implies no movement along Y is allowed. Limited implies the distance in the joint along all active axes must be less than the Distance provided.

◆ ZMotion

TEnumAsByte<enum ELinearConstraintMotion> FLinearConstraint::ZMotion

Indicates the linear constraint applied along theZX-axis.

Free implies no constraint at all. Locked implies no movement along Z is allowed. Limited implies the distance in the joint along all active axes must be less than the Distance provided.


该结构体的文档由以下文件生成: