2D mouse coordinates from 3d object projection

Posted by user17753 on Game Development See other posts from Game Development or by user17753
Published on 2012-07-09T17:49:42Z Indexed on 2012/07/09 21:24 UTC
Read the original article Hit count: 220

Filed under:
|

Not entirely certain of the nomenclature here -- basically, after placing a model in world coordinates and setting up a 3D camera to look at it the model has been projected onto the screen in a 2D fashion.

What I'd like to do is determine if the mouse is inside the projected view of the model.

Is there a way to "unproject" in the XNA framework? Or what is this process called as, so that I can better search for it?

© Game Development or respective owner

Related posts about c#

Related posts about xna-4.0