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

NameTypeDescription
angularLimitXDamping[get, set] doubleThe 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] boolIf true, rotation across the X axis is limited.
angularLimitXErp[get, set] doubleWhen rotating across the X axis, this error tolerance factor defines how much the correction gets slowed down. The lower, the slower.
angularLimitXForceLimit[get, set] doubleThe maximum amount of force that can occur, when rotating around the X axis.
angularLimitXLowerAngle[get, set] doubleThe minimum rotation in negative direction to break loose and rotate around the X axis.
angularLimitXRestitution[get, set] doubleThe amount of rotational restitution across the X axis. The lower, the more restitution occurs.
angularLimitXSoftness[get, set] doubleThe speed of all rotations across the X axis.
angularLimitXUpperAngle[get, set] doubleThe minimum rotation in positive direction to break loose and rotate around the X axis.
angularLimitYDamping[get, set] doubleThe amount of rotational damping across the Y axis. The lower, the more dampening occurs.
angularLimitYEnabled[get, set] boolIf true, rotation across the Y axis is limited.
angularLimitYErp[get, set] doubleWhen rotating across the Y axis, this error tolerance factor defines how much the correction gets slowed down. The lower, the slower.
angularLimitYForceLimit[get, set] doubleThe maximum amount of force that can occur, when rotating around the Y axis.
angularLimitYLowerAngle[get, set] doubleThe minimum rotation in negative direction to break loose and rotate around the Y axis.
angularLimitYRestitution[get, set] doubleThe amount of rotational restitution across the Y axis. The lower, the more restitution occurs.
angularLimitYSoftness[get, set] doubleThe speed of all rotations across the Y axis.
angularLimitYUpperAngle[get, set] doubleThe minimum rotation in positive direction to break loose and rotate around the Y axis.
angularLimitZDamping[get, set] doubleThe amount of rotational damping across the Z axis. The lower, the more dampening occurs.
angularLimitZEnabled[get, set] boolIf true, rotation across the Z axis is limited.
angularLimitZErp[get, set] doubleWhen rotating across the Z axis, this error tolerance factor defines how much the correction gets slowed down. The lower, the slower.
angularLimitZForceLimit[get, set] doubleThe maximum amount of force that can occur, when rotating around the Z axis.
angularLimitZLowerAngle[get, set] doubleThe minimum rotation in negative direction to break loose and rotate around the Z axis.
angularLimitZRestitution[get, set] doubleThe amount of rotational restitution across the Z axis. The lower, the more restitution occurs.
angularLimitZSoftness[get, set] doubleThe speed of all rotations across the Z axis.
angularLimitZUpperAngle[get, set] doubleThe minimum rotation in positive direction to break loose and rotate around the Z axis.
angularMotorXEnabled[get, set] boolIf true, a rotating motor at the X axis is enabled.
angularMotorXForceLimit[get, set] doubleMaximum acceleration for the motor at the X axis.
angularMotorXTargetVelocity[get, set] doubleTarget speed for the motor at the X axis.
angularMotorYEnabled[get, set] boolIf true, a rotating motor at the Y axis is enabled.
angularMotorYForceLimit[get, set] doubleMaximum acceleration for the motor at the Y axis.
angularMotorYTargetVelocity[get, set] doubleTarget speed for the motor at the Y axis.
angularMotorZEnabled[get, set] boolIf true, a rotating motor at the Z axis is enabled.
angularMotorZForceLimit[get, set] doubleMaximum acceleration for the motor at the Z axis.
angularMotorZTargetVelocity[get, set] doubleTarget 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] doubleThe amount of damping that happens at the X motion.
linearLimitXEnabled[get, set] boolIf true, the linear motion across the X axis is limited.
linearLimitXLowerDistance[get, set] doubleThe minimum difference between the pivot points' X axis.
linearLimitXRestitution[get, set] doubleThe amount of restitution on the X axis movement. The lower, the more momentum gets lost.
linearLimitXSoftness[get, set] doubleA factor applied to the movement across the X axis. The lower, the slower the movement.
linearLimitXUpperDistance[get, set] doubleThe maximum difference between the pivot points' X axis.
linearLimitYDamping[get, set] doubleThe amount of damping that happens at the Y motion.
linearLimitYEnabled[get, set] boolIf true, the linear motion across the Y axis is limited.
linearLimitYLowerDistance[get, set] doubleThe minimum difference between the pivot points' Y axis.
linearLimitYRestitution[get, set] doubleThe amount of restitution on the Y axis movement. The lower, the more momentum gets lost.
linearLimitYSoftness[get, set] doubleA factor applied to the movement across the Y axis. The lower, the slower the movement.
linearLimitYUpperDistance[get, set] doubleThe maximum difference between the pivot points' Y axis.
linearLimitZDamping[get, set] doubleThe amount of damping that happens at the Z motion.
linearLimitZEnabled[get, set] boolIf true, the linear motion across the Z axis is limited.
linearLimitZLowerDistance[get, set] doubleThe minimum difference between the pivot points' Z axis.
linearLimitZRestitution[get, set] doubleThe amount of restitution on the Z axis movement. The lower, the more momentum gets lost.
linearLimitZSoftness[get, set] doubleA factor applied to the movement across the Z axis. The lower, the slower the movement.
linearLimitZUpperDistance[get, set] doubleThe maximum difference between the pivot points' Z axis.
linearMotorXEnabled[get, set] boolIf 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] doubleThe maximum force the linear motor can apply on the X axis while trying to reach the target velocity.
linearMotorXTargetVelocity[get, set] doubleThe speed that the linear motor will attempt to reach on the X axis.
linearMotorYEnabled[get, set] boolIf 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] doubleThe maximum force the linear motor can apply on the Y axis while trying to reach the target velocity.
linearMotorYTargetVelocity[get, set] doubleThe speed that the linear motor will attempt to reach on the Y axis.
linearMotorZEnabled[get, set] boolIf 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] doubleThe maximum force the linear motor can apply on the Z axis while trying to reach the target velocity.
linearMotorZTargetVelocity[get, set] doubleThe 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

NameDescription
_getAngularHiLimitX
_getAngularHiLimitY
_getAngularHiLimitZ
_getAngularLoLimitX
_getAngularLoLimitY
_getAngularLoLimitZ
_setAngularHiLimitX
_setAngularHiLimitY
_setAngularHiLimitZ
_setAngularLoLimitX
_setAngularLoLimitY
_setAngularLoLimitZ
getFlagX
getFlagY
getFlagZ
getParamX
getParamY
getParamZ
getPrecision
setFlagX
setFlagY
setFlagZ
setParamX
setParamY
setParamZ
setPrecision

Enums

NameDescription
Constants
Flag
Param