Try something like:

camera.moveTo(player.x, player.y, player.z);
camera.rotationX=player.rotationX;
camera.moveBackward(400);

Hope it makes sense.
-Peter

On Mon, May 16, 2011 at 8:56 PM, andrew barry <[email protected]> wrote:

> To put my question simply I want my object to always by 200-400 in
> front of the Camera like a third person shooter game.
>
> The below link mentions number3D which doesnt exist in away3d 3.6
>
> pos = new Number3D();
> tgt = new Number3D(0, 0, 100);
> pos.transform(tgt, camera.transform);
>
> set my object to the pos x,y,z but this didnt work
>
>
> http://groups.google.com/group/away3d-dev/browse_thread/thread/63bf75f87501c3fa




-- 
___________________

Actionscript 3.0 Flash 3D Graphics Engine

HTTP://AWAY3D.COM

Reply via email to