Convert 2d pos to 3d

Are the 3D positions that you’re picking all on a single plane (as in picking positions on a flat “ground” plane)? If so, this approach might work for you.

If not, perhaps try this (or, if you’re using a collision system other that Panda’s built-in system, an equivalent mechanism) instead.