Hi,

I'm doing something like this using de Caurina Tweener. You could do
do something like these.

Tweener.addTween(camera.target, { x:10,  y:10, z:15 ,time:1,
transition:"easeInOutQuart", onUpdate:do_render } );

this will move the target from where it is to x:10, y:10, z:15 in a
1second animation. It wil give you easing on start and end too.

and build the function to render the scene during the tween

function do_render(){
     view.render();
}

You can find Caurina Tweener on google code.

hope this helps

ttv

On 12 jul, 06:01, SasMaster <[email protected]> wrote:
> I have got a scenario where I need change hover camera's target in the
> runtime . I paid attention that when I change the target, camera
> changes the position sharply . I would like to have a transition tween
> on target change . Anyone has idea how to do this?

Reply via email to