Body.getJoints
Returns a table of all joints that are part of a body.
Kind: Function
Environments: Game
Game
body:getJoints( )
This will not return joints in neighbouring bodies.
Parameters:
| Name | Type | Description |
|---|---|---|
body |
Body | The body. |
Returns:
| Type | Description |
|---|---|
| table | The table of joints in a body. {Joint, ...} |