Contact:getRestitution

Get the restitution between two shapes that are in contact.

Function

Synopsis

restitution = Contact:getRestitution( )

Arguments

None.

Returns

number restitution
The restitution between the two shapes.

See Also


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