Like Warcraft 3 when you select a unit a 2d box appears around the unit and his health bar is shown above.
The health bar can never be blocked behind a unit or object as it is shown through. It follows the unit and does not rotate with it.
I have thought of 2 ways, the first was to keep setting the health bars position to the targeted objects position. But this is by far the most CPU intense solution. The second was to parent the health bar to the object and keep setting its orientation back to normal, but you can see it change rotation at times and seems unprofessional. Does anyone have some ideas or have done this before?