OverlapHit Struct
Result of a per-shape overlap query against the physics world.
public readonly struct OverlapHit
| Properties | |
|---|---|
| Component | The PhysicsBodyComponent whose shape was overlapped, or null if the body has no associated component. |
| ShapeId | The raw Box2D shape ID that was overlapped. |
| SubShape | The specific sub-shape that was overlapped, or null when the primary shape was hit (or the body uses a chain shape whose segments have no individual SubShape). |