19.5.5 friction

f = physics.Shape:friction()

Parameter

Type

Description

self

in physics.Shape

The input Shape

f

out number

The coefficient of friction for this Shape

Returns the friction coefficient of the shape.

Introduced in platform.apiLevel = '2.0'