AGK for Pascal
ContentsIndexHome
PreviousUpNext
TAgkSprite.PhysicsRestitution Property

Sets the restitution (bounciness) value to use for this sprite during physics calculations. Should be in the range 0-1.

Syntax
Pascal
property PhysicsRestitution: Single;

Values greater than 1 will result in the sprite gaining energy from collisions which can cause an unstable result.

Copyright (c) 2012. All rights reserved.