Joint.getAngularVelocity
Returns the angular velocity of a bearing.
Kind: Function
Environments: Game
Game
joint:getAngularVelocity( )
The angular velocity can be set using setMotorVelocity or setTargetAngle.
Parameters:
| Name | Type | Description |
|---|---|---|
bearing |
Joint | The bearing. |
Returns:
| Type | Description |
|---|---|
| number | The bearing's angular velocity. |