Click or drag to resize
CollisionGroups Class
Contain a set of pre-defined collision groups. This is just for your convinience, you do not have to use this.
Inheritance Hierarchy
SystemObject
  GeonBit.Core.PhysicsCollisionGroups

Namespace:  GeonBit.Core.Physics
Assembly:  GeonBit (in GeonBit.dll) Version: 1.0.0.0 (1.0.0.0)
Syntax
C#
public static class CollisionGroups

The CollisionGroups type exposes the following members.

Methods
  NameDescription
Public methodStatic memberAND
Combine collision flags using AND operator.
Public methodStatic memberOR
Combine collision flags using OR operator.
Top
Fields
  NameDescription
Public fieldStatic memberAllCharacters
Used for collision with any characters.
Public fieldStatic memberAllProjectiles
Used for collision with any projectiles.
Public fieldStatic memberDoodads
Used for collision with Doodads (grass etc.).
Public fieldStatic memberDynamicObjects
Used for collision with dynamic objects.
Public fieldStatic memberEnemies
Used for collision with enemies.
Public fieldStatic memberEnemyProjectiles
Used for collision with enemy projectiles.
Public fieldStatic memberForceField
Used for collision with invisible blocks and force-field like bodies.
Public fieldStatic memberFriendProjectiles
Used for collision with friends projectiles.
Public fieldStatic memberFriends
Used for collision with friendly targets.
Public fieldStatic memberNeutrals
Used for collision with neutral targets.
Public fieldStatic memberPickables
Used for collision with any pickable items.
Public fieldStatic memberPlayer
Used for collision with the player.
Public fieldStatic memberPlayerProjectiles
Used for collision with the player.
Public fieldStatic memberPowerUps
Used for collision with powerups.
Public fieldStatic memberStaticObjects
Used for collision with static objects.
Public fieldStatic memberTerrain
Used for collision with terrain / floor / walls.
Public fieldStatic memberTriggers
Used for collision with trigger and switches.
Top
See Also