Skip to content

PhysicsBodyComponent.EnableHitEvents Property

Definition

Namespace: Brine2D.ECS.Components

Whether hit events (OnCollisionHit) are enabled for this body's primary shape. Defaults to true. Changes on a live body apply immediately without a full rebuild.

public bool EnableHitEvents { get; set; }

Property Value

System.Boolean