AGK for Pascal
ContentsIndexHome
PreviousUpNext
TAgkSprite.PhysicsDamping Property

Sets some damping on the sprite's linear movement which may simulate something like wind resistance.

Syntax
Pascal
property PhysicsDamping: Single;

A value of 0 represents no damping, a value of 0.5 would reduce the velocity vector by half every frame which represents significant damping.

Copyright (c) 2012. All rights reserved.