Have lidar stop on mesh like camera

Hi there,
is it possible to have the lidar return “hit” whenever it encounters a mesh and not a collider? a bit like how the camera works.

Unfortunately, for dynamic meshes, collision do not work. So using a lidar is pretty much useless.