Body.getShapeCount
Returns the number of shapes in a body.
Kind: Function
Environments: Game
Game
body:getShapeCount( )
Parameters:
| Name | Type | Description |
|---|---|---|
body |
Body | The body. |
Returns:
| Type | Description |
|---|---|
| integer | The number of shapes in the body. |
Returns the number of shapes in a body.
Kind: Function
Environments: Game
body:getShapeCount( )
Parameters:
| Name | Type | Description |
|---|---|---|
body |
Body | The body. |
Returns:
| Type | Description |
|---|---|
| integer | The number of shapes in the body. |