Contact:getFriction

Edit

Returns the friction of the Contact. Lower friction makes it easier for the colliders to slide against each other.

friction = Contact:getFriction()

Arguments

None

Returns

NameTypeDescription
frictionnumber The contact friction.

See also