I have a rts-style camera hovering above my scene at a 45 degree angle. I can rotate it around it's axis and move it up and down. It's an orthographic camera, in case that makes this easier.

I'd like to find out the following: Given a world point at Vector3(10, 50, 11) for example. I'd like to know where that is absolute in the camera's viewport. Because I'd like to put some UI there.

What is the calculation I should be trying to figure out? If there's a common name for this or a tutorial I think I would find it very helpful.

Oh my god.

That is so simple I can't believe it.

3 years later