Original Post
I am a beginner in 3D and XNA and can't get my head around 2D to 3D conversion. I need to convert a mouse X,Y position to a position in my world view at Z=0. I tried to use Viewport.Unproject twice: Vector3 near = new Vector3(_2D_point.X, _2D_point.Y, 0); Vector3 far = new Vector3(_2D_point.X, _2D_point.Y, 1); near=GraphicsDevice.Viewport.Unproject(near, projectionMatrix, viewMatrix,effect.World ); far=GraphicsDevice.Viewport.Unproject(far, projectionMatrix, viewMatrix, effect.World); Given that I get 2 Vector points from this, how to I calculate the Vector3 position at Z=0 ??? THANKS