W3cubDocs

/LÖVE

Contact:getPosition

Removed in LÖVE 0.8.0
This function is not supported in that and later versions.

Get the location of the contact point between two shapes.

Function

Synopsis

cx, cy = Contact:getPosition( )

Arguments

None.

Returns

number cx
The x coordinate of the contact point.
number cy
The y coordinate of the contact point.

See Also


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