Contents

elasticity

The amount of elasticity applied to collisions for the behavior’s dynamic items.

Declaration

var elasticity: CGFloat { get set }

Discussion

Default value is 0.0. Valid range is from 0.0 for no bounce upon collision, to 1.0 for completely elastic collisions.

See Also

Configuring a dynamic item behavior