AGK for Pascal
ContentsIndexHome
PreviousUpNext
TAgkSprite.Group Property

Assigns this sprite to a group for filtering collisions (physics or non physics).

Syntax
Pascal
property Group: Integer;

In physics, sprites of the same positive group ID will always collide, whilst those that share the same negative group ID will never collide. Those with a group ID of zero (default), or differing group IDs move on to the category filter check.

Copyright (c) 2012. All rights reserved.