Result class

The result of a ray_cast.cast operation.

Properties

readonly distance float

Returns the distance between the ray origin and hit point.

readonly item BaseItem

Returns item hit by the ray.

readonly point Vector3

Returns the precise ray hit point in world space.