An axis that bodyA can rotate around, defined locally in bodyA.
An axis that bodyB can rotate around, defined locally in bodyB.
Wheter to collide the connected bodies or not.
The maximum force that should be applied to constrain the bodies.
A point defined locally in bodyA. This defines the offset of axisA.
A point defined locally in bodyB. This defines the offset of axisB.
Rotation axis, defined locally in bodyA.
Rotation axis, defined locally in bodyB.
Body A.
Body B.
Set to false if you don't want the bodies to collide when they are connected.
Equations to be solved in this constraint.
Pivot, defined locally in bodyA.
Pivot, defined locally in bodyB.
Disables all equations in the constraint.
disableMotor
Enables all equations in the constraint.
enableMotor
setMotorMaxForce
setMotorSpeed
update
Hinge constraint. Think of it as a door hinge. It tries to keep the door in the correct place and with the correct orientation.