Place an object before the camera.


I want to place an object, in my case a text right before the cam. So that is can be seen from the user, but nothing can appear between the text and the camera.

So far, I got:[‘Camera’].location[‘Camera’].rotation_euler[‘Camera’].lens

And I probably need to consider the zoom level.

My intension is to build a menu for a game. The placement is done at development but I want to calculate it automatic, so that I can use the script later on…

Is there a nicer way to plug something on the viewport?

Takk pår hjelpen!