Are Camera.WorldToViewportPoint () and Camera.WorldToScreenPoint () valid only for perspective cameras?
I have an orthographic camera setup for drawing GUI elements. I want GUI text to follow objects in the 3D scene. WorldToViewportPoint () and WorldToScreenPoint () do not return correct screen space values when used with an orthographic camera – the values are offset and scaled incorrectly.
These functions used with a perspective camera do give the correct results. I can switch to use it, but if this is the case, the docs should specify that these functions are only valid for perspective cameras.