Easiest? Anchor the widget to the 3D object. If you have HUDText, UIFollowTarget script can also be used.
Other alternative is to do math yourself. Convert from 3D to view space, from view space to screen space, from screen space to local to widget's parent, position the widget.