Joint.getBearingEnabled
Returns whether a joint has a bearing enabled.
Kind: Function
Environments: Game
Game
joint:getBearingEnabled( )
Parameters:
| Name | Type | Description |
|---|---|---|
joint |
Joint | The joint. |
Returns:
| Type | Description |
|---|---|
| boolean | Whether the joint has a bearing enabled. Springs return whether their bearing is enabled, bearings always return true, pistons always return false. |