Fix raycast in case of several triangle-level overlapping hits.
Added distance parameter to RaycastResult.