Bounce

constructor(damping: Float = 0.7f)(source)

Parameters

damping

fraction of velocity retained after each bounce. 1.0 = perfect elastic bounce, 0.5 = half the speed after each bounce. Must be in range 0, 1.