Contact:getShapes

Available since LÖVE 12.0
It has replaced Contact:getFixtures.

Gets the two Shapes that are in contact.

Function

Synopsis

shapeA, shapeB = Contact:getShapes( )

Arguments

None.

Returns

Shape shapeA
The first Shape.
Shape shapeB
The second Shape.

See Also

Other Languages