CollisionMasks Class |
Namespace: GeonBit.Core.Physics
public static class CollisionMasks
The CollisionMasks type exposes the following members.
Name | Description | |
---|---|---|
Blocking |
Default collision mask for everything that should block movement.
| |
Characters |
Default collision mask for all type of characters - characters, player, and enemies.
| |
DynamicTargets |
Default collision mask for valid dynamic targets.
For example, you can use this for projectiles that can hit stuff.
| |
FriendlyTargets |
Default collision mask for targets associated with the player and his allies.
| |
NonCharacterTargets |
All non-character dynamic and static targets.
| |
Pickups |
Default collision mask for stuff you can pick up.
| |
Statics |
Default collision mask for all static objects.
| |
Targets |
Default collision mask for valid targets.
For example, you can use this for projectiles that can hit stuff.
|