Hi all, i need to rotate the view, not the camera, so I simply added
this line of code:
view.rotationZ= -2;

It rotates the view perfectly as needed, however this code no longer
works:


function doClick(e:MouseEvent3D):void
                {

                        var randomX:Number = Math.random()*8000-1000;
                        var randomY:Number = Math.random()*8000-1000;
                        var randomZ:Number = Math.random()*8000-1000;
                        var randomRot:Number = Math.random()*365;
                        var randomCamRot:Number = Math.random()*365;
                        TweenLite.to(carousel, 4, 
{x:randomX,y:randomY,z:randomZ});
                }

Yet if i remove the view rotation, it works again....

Any ideas?

Thanks abunch.

Jeff

Reply via email to