Hi,
I drew a line and then tried to pick the same.
This however does not work as expected.
Please find below, link for the trial.
http://www.babylonjs-playground.com/#1I4F1D#1
Kindly let me know where I am going wrong.
Regards
Rajkumar
@Rajkumar I've got some time to spend on your issue, here's what happens, there're two things:
1) The boundingInfo of you line mesh exactly fits the line, there's no "additional margin" so your mesh is rejected if the mouse pointer is too far. In another words, the engine doesn't make the linesMesh intersection because the ray corresponding to the mouse cursor is outside the boundingInfo of the lineMesh. That is why I've created a boundingBias property in the Geometry class: to "extend" the