PhysicsBodyComponent.CollidingBodies Property
Definition¶
Namespace: Brine2D.ECS.Components
Returns all bodies currently in active contact or sensor overlap with this body. This is the union of Brine2D.ECS.Components.PhysicsBodyComponent.ActiveContactPairs and Brine2D.ECS.Components.PhysicsBodyComponent.ActiveSensorPairs.
public System.Collections.Generic.IEnumerable<Brine2D.ECS.Components.PhysicsBodyComponent> CollidingBodies { get; }
Property Value¶
System.Collections.Generic.IEnumerable<PhysicsBodyComponent>