class Hinge2Joint extends MotorEnabledJoint
This class represents a dual hinge physics joint (same as wheel 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 | |
optional | motorIndex | number |
Set the motor limits.
Attention, this function is plugin specific. Engines won't react 100% the same.
Name | Type | Description | |
---|---|---|---|
upperLimit | number | ||
optional | lowerLimit | number | |
optional | motorIndex | number |