Camera third person

Software: Away3D 4.x

chris15, Newbie
Posted: 18 May 2013 03:28 PM   Total Posts: 3

Welcome
At first sorry for my bad english!

I was rendered map (img) of the guy that moves from point A to B. The guy is a MovieClip 2D, because I do not know how to do animation legs. There is a special class converted to sprite3d and then added to the scene.

czlowieczek = new TimelineAnimation(czlowiek1);
   
spriteCzlowiek = new Sprite3D(czlowieczek.material,20,50);
   
spriteCzlowiek.0;
   
spriteCzlowiek.50;
   
spriteCzlowiek.= -3000;
   
_view.scene.addChild(spriteCzlowiek); 


And now my question: how do the camera followed the l people (third person camera) and smoothly curved the corners
Until the turn I can set the camera:

if (spriteCzlowiek.< -550)
   
{
    spriteCzlowiek
.+=  10;
    
_view.camera.spriteCzlowiek.300;
   

But, right?
I tried camera.rotationY but it does not go smoothly
Please help me

 

   
   

X

Away3D Forum

Member Login

Username

Password

Remember_me



X