PhysicsBodyComponent.OnTriggerEnterWithShape Event
Definition¶
Namespace: Brine2D.ECS.Components
Fired once when another body begins overlapping this trigger, with sub-shape detail.
The first SubShape is the sub-shape on \<em>this\</em> body that acted as
the sensor (null when the primary shape was the sensor). The second is the
sub-shape on the \<em>visitor\</em> body (null when its primary shape overlapped).
public event Action<PhysicsBodyComponent,SubShape?,SubShape?>? OnTriggerEnterWithShape;