Raycast with several cubes

What AnimalMan says… perfect.

But there might be other ways too, if you are only interested in ONE collider:

Raycasting, colliders, planes, Plane, etc:

1 Like