Point Distance To Camera

Hey,

I have a question regarding a little scripting.

I have a card, point or whatever in 3D Space and want to know the distance to the camera, updating every frame. For my case, I would like to have the distance in Meters so that when you have a text node applied to that 3D card, you can render out that data (like in an aircraft HUD).

Since I am not a scripting guru, maybe you can give me a tip?

Thx a lot!

No Responses to “Point Distance To Camera”

Post a Comment