I am trying for smooth zooming transitions in my stage3d (using flare3d 2.0 engine) game.
I am using GTweener to tween the camera like below
GTweener.to(_camera,0.5,{x:pos.x,y:pos.y,z:pos.z});
This is working fine, how ever I want to tween other properties which can be set only using functions, example
setRotation(x,y,z);
or
rotateX(value);
I am not sure how to call the function and pass the function parameters as parameters to the GTweerner.to function
Another work around I am aware of is passing a callback function as onUpdate property, but I prefer to avoid it to keep things simple.
Or
If some confirms me that it is not possible in GTweener then I need to look for alternative libraries which allows me to do it.