It seems like I'm out on this subject...
so maybe I'm still wrong but:
if you want to achieve :
view.camera.moveTo(fighter.x,fighter.y,fighter.z);
                        view.camera.rotationY=fighter.rotationY;
                        view.camera.rotationX=fighter.rotationX;
                        view.camera.rotationZ=fighter.rotationZ;
                        view.camera.moveBackward(25);// or some other
number;

as I told, you can replace it by :

view.camera.transform = fighter.transform
view.camera.moveBackward(25);

it's the same with less method called in the pipeline  (we are working
on matrix ) then more perf.

Reply via email to