class HingeJoint extends MotorEnabledJoint
This class represents a single hinge physics joint
| Name | Type | Description | |
|---|---|---|---|
| jointData | PhysicsJointData |
Set the motor values.
Attention, this function is plugin specific. Engines won't react 100% the same.
| Name | Type | Description | |
|---|---|---|---|
| optional | force | number | |
| optional | maxForce | number |
Set the motor's limits.
Attention, this function is plugin specific. Engines won't react 100% the same.
| Name | Type | Description | |
|---|---|---|---|
| upperLimit | number | ||
| optional | lowerLimit | number |