How to understand the 'width' parameter in the 'getRayIntersection' method

I use drillPickFromRay(ray, limit, objectsToExclude,10). The results was incorrect.

Unit is meters??

Hi there,

I would expect the units here to be pixels.

Hi, I would expect the units here to be meters.

How could they be pixels if the Ray is not cast from a screen coordinate? A Ray is defined by 3D coordinates.

@laozhu117 Could you provide more info about how the result was incorrect? What exactly did you expect, and what exactly did you get?

Maybe the issue is related to scene.drillPick conflicts with HeightReference.CLAMP_TO_GROUND ?