According to its description “Convert a point from 3D world space to 2D screen space.” I would expect to give the function a Vector3 representing the world position in 3D space, and receive in return a Vector3 representing the same position when projected into the 2D Screen space.
I checked the responses on that thread and it seems that the solution suggested in that case was to move the Text Element outside of the 2D Screen and into the 3D space?
I know that would work, but it means:
I have to rotate the Text Element to always face the camera
It’s not in the same hierarchy as the other UI elements, which makes it less clean
So, even though that option would work (and it is a valid solution) I’d really prefer to have a way to determine the projection of a 3D entity into the 2D Screen space, but my problem is I’m not sure how the engine is doing the scaling calculations to determine the 2D space.