Interface: RaycastHit2D
Properties
| Property | Type | Description |
|---|---|---|
collider | Collider2DComponent | - |
distance | number | Px from the origin, and the 0..1 share of the cast length. |
entity | Entity | - |
fraction | number | - |
normalX | number | - |
normalY | number | - |
rigidbody | Rigidbody2DComponent | null | - |
x | number | - |
y | number | - |