Body.getCreationBodies
Returns a table of all bodies in a creation.
Kind: Function
Environments: Game
Game
body:getCreationBodies( )
A creation includes all bodies connected by joints, etc.
Parameters:
| Name | Type | Description |
|---|---|---|
body |
Body | The body. |
Returns:
| Type | Description |
|---|---|
| table | An array table of all bodies in a creation. {Body, ...} |