Function RayCast.getCollider
Returns the first object that the ray intersects, or null
if no object is intersecting the ray (i.e. isColliding
returns false
).
Returns the first object that the ray intersects, or null
if no object is intersecting the ray (i.e. isColliding
returns false
).