Collider:getRestitution
EditReturns the restitution (bounciness) of the Collider. By default, the restitution of two Colliders is combined (the max is used) when they collide to cause them to bounce away from each other. The initial restitution is 0.
restitution = Collider:getRestitution()
Arguments
None
Returns
Name | Type | Description |
restitution | number | The restitution of the Collider. |