Body.getShapesByUuid
Returns a table of all shapes that are part of a body and have a specified uuid.
Kind: Function
Environments: Game
Game
body:getShapesByUuid( uuid )
This will not return shapes in neighbouring bodies connected by joints, etc.
Parameters:
Returns:
| Type | Description |
|---|---|
| table | The table of shapes in a body. {Shape, ...} |