Struct HingeJoint
A hinge between two 3D bodies.
A HingeJoint normally uses the Z axis of body A as the hinge axis, another axis can be specified when adding it manually though.
Properties
Name | Type | Description |
angularLimitBias [get, set]
|
double | The speed with which the rotation across the axis perpendicular to the hinge gets corrected.
|
angularLimitEnable [get, set]
|
bool | If true , the hinges maximum and minimum rotation, defined by angularLimit/lower and angularLimit/upper has effects.
|
angularLimitLower [get, set]
|
double | The minimum rotation. Only active if angularLimit/enable is true .
|
angularLimitRelaxation [get, set]
|
double | The lower this value, the more the rotation gets slowed down.
|
angularLimitSoftness [get, set]
|
double | |
angularLimitUpper [get, set]
|
double | The maximum rotation. Only active if angularLimit/enable is true .
|
motorEnable [get, set]
|
bool | When activated, a motor turns the hinge.
|
motorMaxImpulse [get, set]
|
double | Maximum acceleration for the motor.
|
motorTargetVelocity [get, set]
|
double | Target speed for the motor.
|
paramsBias [get, set]
|
double | The speed with which the two bodies get pulled together when they move in different directions.
|