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
| 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)
| 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.
| 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.
| 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.