RayResult
RayResult is a data type that contains data about a raycast result.
Constructors
| Name | Description |
|---|---|
Instance Instance | The instance hit by the raycast. |
Vector3 Position | The position the ray made contact at. |
float Distance | The distance between the hit and origin. |
Vector3 Normal | The normal of the surface the ray hit. |