CollisionGroups Class |
Namespace: GeonBit.Core.Physics
public static class CollisionGroups
The CollisionGroups type exposes the following members.
Name | Description | |
---|---|---|
AND |
Combine collision flags using AND operator.
| |
OR |
Combine collision flags using OR operator.
|
Name | Description | |
---|---|---|
AllCharacters |
Used for collision with any characters.
| |
AllProjectiles |
Used for collision with any projectiles.
| |
Doodads |
Used for collision with Doodads (grass etc.).
| |
DynamicObjects |
Used for collision with dynamic objects.
| |
Enemies |
Used for collision with enemies.
| |
EnemyProjectiles |
Used for collision with enemy projectiles.
| |
ForceField |
Used for collision with invisible blocks and force-field like bodies.
| |
FriendProjectiles |
Used for collision with friends projectiles.
| |
Friends |
Used for collision with friendly targets.
| |
Neutrals |
Used for collision with neutral targets.
| |
Pickables |
Used for collision with any pickable items.
| |
Player |
Used for collision with the player.
| |
PlayerProjectiles |
Used for collision with the player.
| |
PowerUps |
Used for collision with powerups.
| |
StaticObjects |
Used for collision with static objects.
| |
Terrain |
Used for collision with terrain / floor / walls.
| |
Triggers |
Used for collision with trigger and switches.
|