RaycastHit2D.Distance
The distance from the ray's origin to the impact point.
Properties
Property Name | Description |
---|---|
Raycast Hit 2D | RaycastHit2D |
Distance | Output the hit distance |
The distance from the ray's origin to the impact point.
Property Name | Description |
---|---|
Raycast Hit 2D | RaycastHit2D |
Distance | Output the hit distance |