Is there any way to retreive 3d position from screen 2d position
In CollisionManager are only functions to get scenenode from 2d but I need pure 3d position
3d position from 2d position
-
- Posts: 81
- Joined: Fri Aug 22, 2003 12:06 pm
- Location: Germany
- Contact:
That's impossible. Imagine your mouse cursor on a position on the screen. The position on the screen plane is distinct, while the "position" in space could be anywhere on a ray from the interception point of the near clipping plane to the intersection point on the far clipping plane (and beyond, indeed). Thus, the only way to express the "3d position" is a linear equation.
Cheers.
Cheers.
matthias gall, lead programmer at sechsta sinn - email matthias@sechsta-sinn.de