You are here: Lua Scripting Resources eGuide > Lua Scripting API Reference Guide > Physics Library > friction

19.11.7 friction

f = physics.Arbiter:friction()

Parameter

Type

Description

self

in physics.Arbiter

The input Arbiter

f

out number

The calculated friction of the collision

Returns the calculated friction of this collision pair.

Introduced in platform.apiLevel = '2.0'