Hey guys,

I have this 3D tag cloud sphere of planes all sitting inside of an
ObjectContainer3D.

Im using the following code on enterFrame to have the planes lookAt
the camera, but I am unsure if its using the values inside of the
Container, or the whole scene.

Any ideas? Basically the planes are all facing the same spot no matter
what even tho the container is being rotated on x and y...Is the
lookAt going to the x,y,z inside the container? Is there a way to have
it face the camera at all times?

for (var j:uint = 0; j < tags.length; ++j) {

                                tagArray[j].lookAt(viewport.camera.position);
                tagArray[j].alpha = minAlpha + (1 - minAlpha) * (1 -
(tagArray[j].z - radius) / (2 * radius));
            }

Reply via email to