How to drag an object on the surface

Something related: Wrong normal with raycaster - #5 by prisoner849