Hello,
I am having problem with rotationY in TweenNano
When i use these 2 codes I get the desired result
1)
tween = new TweenNano(sp, 0.5, { x:newX, ease:Strong.easeOut } );
sp.rotationY = (newX - halfWidth) * 0.15;
2)
tween = new TweenNano(sp, 0.5, { x:newX, ease:Strong.easeOut } );
newRotY = (newX - halfWidth) * 0.15;
tween2 = new Tween(sp, "rotationY", fl.transitions.easing.Strong.easeOut, sp.rotationY, newRotY, 0.5, true);
But when I use the TweenNano for Same. the rotationY is not accurate and it does not produce desired result
tween = new TweenNano(sp, 0.5, { x:newX, ease:Strong.easeOut } );
newRotY = (newX - halfWidth) * 0.15;
tween2 = new TweenNano(sp, 0.5, { rotationY:newRotY, ease:Strong.easeOut } );
Does TweenNano computes the 3D rotation in some different way than that of flash's normal tween?
please help