Struct Generic6DOFJoint
The generic 6-degrees-of-freedom joint can implement a variety of joint types by locking certain axes' rotation or translation.
struct Generic6DOFJoint
;
The first 3 DOF axes are linear axes, which represent translation of Bodies, and the latter 3 DOF axes represent the angular motion. Each axis can be either locked, or limited.
Properties
| Name | Type | Description |
|---|---|---|
angularLimitXDamping[get, set]
|
double | The amount of rotational damping across the X axis. The lower, the longer an impulse from one side takes to travel to the other side. |
angularLimitXEnabled[get, set]
|
bool | If true, rotation across the X axis is limited.
|
angularLimitXErp[get, set]
|
double | When rotating across the X axis, this error tolerance factor defines how much the correction gets slowed down. The lower, the slower. |
angularLimitXForceLimit[get, set]
|
double | The maximum amount of force that can occur, when rotating around the X axis. |
angularLimitXLowerAngle[get, set]
|
double | The minimum rotation in negative direction to break loose and rotate around the X axis. |
angularLimitXRestitution[get, set]
|
double | The amount of rotational restitution across the X axis. The lower, the more restitution occurs. |
angularLimitXSoftness[get, set]
|
double | The speed of all rotations across the X axis. |
angularLimitXUpperAngle[get, set]
|
double | The minimum rotation in positive direction to break loose and rotate around the X axis. |
angularLimitYDamping[get, set]
|
double | The amount of rotational damping across the Y axis. The lower, the more dampening occurs. |
angularLimitYEnabled[get, set]
|
bool | If true, rotation across the Y axis is limited.
|
angularLimitYErp[get, set]
|
double | When rotating across the Y axis, this error tolerance factor defines how much the correction gets slowed down. The lower, the slower. |
angularLimitYForceLimit[get, set]
|
double | The maximum amount of force that can occur, when rotating around the Y axis. |
angularLimitYLowerAngle[get, set]
|
double | The minimum rotation in negative direction to break loose and rotate around the Y axis. |
angularLimitYRestitution[get, set]
|
double | The amount of rotational restitution across the Y axis. The lower, the more restitution occurs. |
angularLimitYSoftness[get, set]
|
double | The speed of all rotations across the Y axis. |
angularLimitYUpperAngle[get, set]
|
double | The minimum rotation in positive direction to break loose and rotate around the Y axis. |
angularLimitZDamping[get, set]
|
double | The amount of rotational damping across the Z axis. The lower, the more dampening occurs. |
angularLimitZEnabled[get, set]
|
bool | If true, rotation across the Z axis is limited.
|
angularLimitZErp[get, set]
|
double | When rotating across the Z axis, this error tolerance factor defines how much the correction gets slowed down. The lower, the slower. |
angularLimitZForceLimit[get, set]
|
double | The maximum amount of force that can occur, when rotating around the Z axis. |
angularLimitZLowerAngle[get, set]
|
double | The minimum rotation in negative direction to break loose and rotate around the Z axis. |
angularLimitZRestitution[get, set]
|
double | The amount of rotational restitution across the Z axis. The lower, the more restitution occurs. |
angularLimitZSoftness[get, set]
|
double | The speed of all rotations across the Z axis. |
angularLimitZUpperAngle[get, set]
|
double | The minimum rotation in positive direction to break loose and rotate around the Z axis. |
angularMotorXEnabled[get, set]
|
bool | If true, a rotating motor at the X axis is enabled.
|
angularMotorXForceLimit[get, set]
|
double | Maximum acceleration for the motor at the X axis. |
angularMotorXTargetVelocity[get, set]
|
double | Target speed for the motor at the X axis. |
angularMotorYEnabled[get, set]
|
bool | If true, a rotating motor at the Y axis is enabled.
|
angularMotorYForceLimit[get, set]
|
double | Maximum acceleration for the motor at the Y axis. |
angularMotorYTargetVelocity[get, set]
|
double | Target speed for the motor at the Y axis. |
angularMotorZEnabled[get, set]
|
bool | If true, a rotating motor at the Z axis is enabled.
|
angularMotorZForceLimit[get, set]
|
double | Maximum acceleration for the motor at the Z axis. |
angularMotorZTargetVelocity[get, set]
|
double | Target speed for the motor at the Z axis. |
angularSpringXDamping[get, set]
|
double | |
angularSpringXEnabled[get, set]
|
bool | |
angularSpringXEquilibriumPoint[get, set]
|
double | |
angularSpringXStiffness[get, set]
|
double | |
angularSpringYDamping[get, set]
|
double | |
angularSpringYEnabled[get, set]
|
bool | |
angularSpringYEquilibriumPoint[get, set]
|
double | |
angularSpringYStiffness[get, set]
|
double | |
angularSpringZDamping[get, set]
|
double | |
angularSpringZEnabled[get, set]
|
bool | |
angularSpringZEquilibriumPoint[get, set]
|
double | |
angularSpringZStiffness[get, set]
|
double | |
linearLimitXDamping[get, set]
|
double | The amount of damping that happens at the X motion. |
linearLimitXEnabled[get, set]
|
bool | If true, the linear motion across the X axis is limited.
|
linearLimitXLowerDistance[get, set]
|
double | The minimum difference between the pivot points' X axis. |
linearLimitXRestitution[get, set]
|
double | The amount of restitution on the X axis movement. The lower, the more momentum gets lost. |
linearLimitXSoftness[get, set]
|
double | A factor applied to the movement across the X axis. The lower, the slower the movement. |
linearLimitXUpperDistance[get, set]
|
double | The maximum difference between the pivot points' X axis. |
linearLimitYDamping[get, set]
|
double | The amount of damping that happens at the Y motion. |
linearLimitYEnabled[get, set]
|
bool | If true, the linear motion across the Y axis is limited.
|
linearLimitYLowerDistance[get, set]
|
double | The minimum difference between the pivot points' Y axis. |
linearLimitYRestitution[get, set]
|
double | The amount of restitution on the Y axis movement. The lower, the more momentum gets lost. |
linearLimitYSoftness[get, set]
|
double | A factor applied to the movement across the Y axis. The lower, the slower the movement. |
linearLimitYUpperDistance[get, set]
|
double | The maximum difference between the pivot points' Y axis. |
linearLimitZDamping[get, set]
|
double | The amount of damping that happens at the Z motion. |
linearLimitZEnabled[get, set]
|
bool | If true, the linear motion across the Z axis is limited.
|
linearLimitZLowerDistance[get, set]
|
double | The minimum difference between the pivot points' Z axis. |
linearLimitZRestitution[get, set]
|
double | The amount of restitution on the Z axis movement. The lower, the more momentum gets lost. |
linearLimitZSoftness[get, set]
|
double | A factor applied to the movement across the Z axis. The lower, the slower the movement. |
linearLimitZUpperDistance[get, set]
|
double | The maximum difference between the pivot points' Z axis. |
linearMotorXEnabled[get, set]
|
bool | If true, then there is a linear motor on the X axis. It will attempt to reach the target velocity while staying within the force limits.
|
linearMotorXForceLimit[get, set]
|
double | The maximum force the linear motor can apply on the X axis while trying to reach the target velocity. |
linearMotorXTargetVelocity[get, set]
|
double | The speed that the linear motor will attempt to reach on the X axis. |
linearMotorYEnabled[get, set]
|
bool | If true, then there is a linear motor on the Y axis. It will attempt to reach the target velocity while staying within the force limits.
|
linearMotorYForceLimit[get, set]
|
double | The maximum force the linear motor can apply on the Y axis while trying to reach the target velocity. |
linearMotorYTargetVelocity[get, set]
|
double | The speed that the linear motor will attempt to reach on the Y axis. |
linearMotorZEnabled[get, set]
|
bool | If true, then there is a linear motor on the Z axis. It will attempt to reach the target velocity while staying within the force limits.
|
linearMotorZForceLimit[get, set]
|
double | The maximum force the linear motor can apply on the Z axis while trying to reach the target velocity. |
linearMotorZTargetVelocity[get, set]
|
double | The speed that the linear motor will attempt to reach on the Z axis. |
linearSpringXDamping[get, set]
|
double | |
linearSpringXEnabled[get, set]
|
bool | |
linearSpringXEquilibriumPoint[get, set]
|
double | |
linearSpringXStiffness[get, set]
|
double | |
linearSpringYDamping[get, set]
|
double | |
linearSpringYEnabled[get, set]
|
bool | |
linearSpringYEquilibriumPoint[get, set]
|
double | |
linearSpringYStiffness[get, set]
|
double | |
linearSpringZDamping[get, set]
|
double | |
linearSpringZEnabled[get, set]
|
bool | |
linearSpringZEquilibriumPoint[get, set]
|
double | |
linearSpringZStiffness[get, set]
|
double | |
precision[get, set]
|
long |
Methods
Enums
| Name | Description |
|---|---|
Constants
|
|
Flag
|
|
Param
|