Available since LÖVE 0.8.0 |
This method is not supported in earlier versions. |
Returns the points of the fixture bounding box. In case the fixture has multiple children a 1-based index can be specified. For example, a fixture will have multiple children with a chain shape.
topLeftX, topLeftY, bottomRightX, bottomRightY = Fixture:getBoundingBox( index )
number index (1)
number topLeftX
number topLeftY
number bottomRightX
number bottomRightY