W3cubDocs

/LÖVE

Contact:getFriction

Get the friction between two shapes that are in contact.

Function

Synopsis

friction = Contact:getFriction( )

Arguments

None.

Returns

number friction
The friction of the contact.

See Also


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