AGK for Pascal
ContentsIndexHome
PreviousUpNext
TAgkPhysicsMode Enumeration

Physics mode that defines the behavior of sprites in the physics world (see TAgkSprite.PhysicsMode)

Syntax
Pascal
TAgkPhysicsMode = (
  pmStatic = 1,
  pmDynamic,
  pmKinematic
);
Members 
Description 
pmStatic = 1 
Static mode. The sprite will never move or rotate. 
pmDynamic 
Dynamic mode. The sprite will respond to all collisions and forces it encounters, including gravity and collisions with static objects. 
pmKinematic 
Kinematic mode. A special case which can be thought of as a moving static body, it will not respond to collisions or forces and will continue at its specified velocity forever, but dynamic items will respond to it and effectively be pushed out of the way. 
Copyright (c) 2012. All rights reserved.