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

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

The CollisionMasks type exposes the following members.

Fields
  NameDescription
Public fieldStatic memberBlocking
Default collision mask for everything that should block movement.
Public fieldStatic memberCharacters
Default collision mask for all type of characters - characters, player, and enemies.
Public fieldStatic memberDynamicTargets
Default collision mask for valid dynamic targets. For example, you can use this for projectiles that can hit stuff.
Public fieldStatic memberFriendlyTargets
Default collision mask for targets associated with the player and his allies.
Public fieldStatic memberNonCharacterTargets
All non-character dynamic and static targets.
Public fieldStatic memberPickups
Default collision mask for stuff you can pick up.
Public fieldStatic memberStatics
Default collision mask for all static objects.
Public fieldStatic memberTargets
Default collision mask for valid targets. For example, you can use this for projectiles that can hit stuff.
Top
See Also