pick.pickedPoint is getting the far side of the object

Hello, I was trying to use a Ray to compute the distance of my box (at the bottom) to the upper box, in y axis. I can successfully get the mesh where I collide to, but the pick.pickedPoint is giving me the upper side of the upper box, not the bottom side, where the ray should collide first. What am I doing wrong?

Thank you


Oh, that’s a tough one :slight_smile:

Would you be able to reproduce that on the playground? otherwise it is very hard to understand what’s going on.