Table of Contents

Enum CollisionGroup

Namespace
LibGFX.Physics
Assembly
LibGFX.dll

Defines different collision groups for physics interactions.

[Flags]
public enum CollisionGroup
Extension Methods

Fields

All = -1

Group representing all collision groups.

Collider = 4096

Group for collision detection components.

EditorEntity = 8192

Group for editor entities such as gizmos and debug objects.

EnvironmentObject = 1024

Group for environmental objects.

InteractiveObject = 512

Group for interactive objects.

NPC = 64

Group for non-player characters (NPCs).

None = 0

Represents no collision group.

Particles = 2048

Group for particle systems.

Player = 32

Group for player-controlled characters.

Projectile = 256

Group for projectiles or other similar objects.

StaticObject = 2

Group for static objects that do not move.

Trigger = 16

Group for trigger volumes or sensors.

Vehicle = 128

Group for vehicles.