Hi,
I’m trying to figure out how to capture the position of an object embedded in 3d space…translated into 2d pixel/screen coordinates.
For example, imagine a cube placed on an empty 3D plane. When I click on it, I can easily extract its X,Y,Z coordinates, and these will stay the same even if I move. What I’d like to do though, is capture the cube’s position in the 2D space of the users computer monitor at the moment of clicking. So if the cube is visually in the upper left corner of my screen when I click, its 2D coordinates might be 10,10. But if the cube is in the center of the screen when I click it, it show different 2D coordinates (but the same X,Y,Z) coordinates.
Is this possible??
Thanks for any help ![]()
Brian