collision ray?

Take a look at this manual page, it says:

A CollisionHandlerFloor would indeed be a better solution, yes.