SetSpritePhysicsRestitution - AGK Help

SetSpritePhysicsRestitution

Description

Sets the restitution (bounciness) value to use for this sprite during physics calculations. Should be in the range 0 to 1. Values greater than 1 will result in the sprite gaining energy from collisions which can cause an unstable result.

Definition

SetSpritePhysicsRestitution( iSpriteIndex, restitution )

Parameters