Hi, I’m using Away3D to create a globe with clickable icons orbiting around, and rollover text appearing below.
I have been creating the icons as Sprite3D entities, with Sprite3D elements below with TextureMaterials generated from text drawn to a bitmap, hidden until rollover the icon.
However if I place the text Sprite3D below the icon by a y distance the text position will appear inconsistent when the camera rotates around the scene.
Therefore I’m trying to translate the position of bottom of the Sprite3D icon entity into screen dimensions, or get the Sprite3D icon height in screen dimensions, as they always face the screen.
I know the height in 3D space, and can get the bounds, but that doesn’t help when rotating the camera and seeing the bounding box, or sphere in 3D.
Is there any method to obtain the 2D screen dimensions of a sprite3D?