take (Vector3) points p1 and p2 and a mesh at p2
this ray is not ALWAYS finding the mesh, i.e. this PickingInfo sometimes comes with hit == false:
let dir = p2.subtract(p1)
let ray = new BABYLON.Ray(p1, dir)
let inter = ray.intersectsMesh(mesh)
// sometimes inter.hit == false
the mesh is always a polyhedron with size >= 0.01, distance between p1 and p2 is < 2.
I am struggling with this issue today…
Hope to find out that I am doing something silly or that you
have some neat explanation.