raycast

fun raycast(x: Int, y: Int, result: FloatArray): Boolean

Given a viewport coordinate, picks a point in the ground plane into result (size ≥ 3).

Return

whether the ray hit the ground plane