Hi folks.
Is there any easy way to get the pixel position on screen of projected 3d objects? I could really do with putting some debug data on screen over my objects while I’m collision testing.
Any ideas?
Thanks.
Hi folks.
Is there any easy way to get the pixel position on screen of projected 3d objects? I could really do with putting some debug data on screen over my objects while I’m collision testing.
Any ideas?
Thanks.
Hi,
You can use Viewport.Project(…) to project a 3d point into the 2d screen coordinates.
Brilliant, many thanks nkast, I’ll start looking into it. :o)