Contact:getFixtures

Available since LÖVE 0.9.2
This function is not supported in earlier versions.

Gets the two Fixtures that hold the shapes that are in contact.

Function

Synopsis

fixtureA, fixtureB = Contact:getFixtures( )

Arguments

None.

Returns

Fixture fixtureA
The first Fixture.
Fixture fixtureB
The second Fixture.

See Also

© 2006–2020 LÖVE Development Team
Licensed under the GNU Free Documentation License, Version 1.3.
https://love2d.org/wiki/Contact:getFixtures