Skip to content

PhysicsBodyComponent.EnableHitEvents Property

Definition

Namespace: Brine2D.ECS.Components

Whether hit events \([OnCollisionHit](OnCollisionHit.md 'Brine2D\.ECS\.Components\.PhysicsBodyComponent\.OnCollisionHit')\) are enabled for this body's primary shape. Defaults to true. Changes on a live body apply immediately without a full rebuild.

C#
public bool EnableHitEvents { get; set; }

Property Value

System.Boolean