AGK for Pascal
ContentsIndexHome
PreviousUpNext
TAgkSprite.PhysicsIsSensor Property

Set this to True to make the sprite a sensor object.

Syntax
Pascal
property PhysicsIsSensor: Boolean;

Physics sensors detect collisions and contacts but do not respond to them, they also do not affect anything that hits them. Their only purpose is to detect collisions. If you apply this to a dynamic body it will not collide with anything and most likely fall through the floor and continue falling forever, it is still affected by forces.

Copyright (c) 2012. All rights reserved.