Available since LÖVE 0.8.0
This function is not supported in earlier versions.
Returns the two closest points between two fixtures and their distance.
This function does not work correctly in 0.8.0 and may terminate LÖVE without errors.
distance, x1, y1, x2, y2 = love.physics.getDistance( fixture1, fixture2 )
number distancenumber x1number y1number x2number y2
© 2006–2016 LÖVE Development Team
Licensed under the GNU Free Documentation License, Version 1.3.
https://love2d.org/wiki/love.physics.getDistance