19.11.12 setElasticity

self = physics.Arbiter:setElasticity(e)

Parameter

Type

Description

self

in physics.Arbiter

The input Arbiter

e

in number

Elasticity of the collision

self

out physics.Arbiter

The input Arbiter is returned as the output

Overrides the calculated elasticity of the collision.

Note

May not behave as expected for e larger than 1.0 or less than 0.

Introduced in platform.apiLevel = '2.0'