BaseItem.physics.restitution property
restitution: float
Defines this item's restitution (bounciness).
- Restitution of
0does not cause item to bounce - Restitution of
1causes item to bounce at no loss of energy
Defines this item's restitution (bounciness).
0 does not cause item to bounce1 causes item to bounce at no loss of energy