[SOLVED] Get screen coord from 3d coord

Anyone know how to get the SCREEN coordinates of a 3d coordinate ?

My 3d pacman game draws 2d sprites for the fruits, and I am looking for a way to translate my map-coordinate info into a 2d SCREEN coordinate for my sprite-drawing…

The game can rotate and pan and such, so I need I reliable method for computing where to draw my fruit sprite…

Hi,
check this link: https://msdn.microsoft.com/en-us/library/microsoft.xna.framework.graphics.viewport.project.aspx
and for XNA related problems check e.g. StackOverflow.

1 Like

Its still a little off, but Im off to a good start… I’ll have it cracked soon…

Thanks to you…! -and hats off for a fast answer…!

Heres the link that helped me if anyone in the future has this question…