hi,
firstly i'd like to say thanks for creating a brilliant tweening library, i love it!
i'm having problems tweening 3d objects using the built in fp10 3d engine.
i have a timeline tween that i want to create a tweenlite tween from and then duplicate it for other objects. i am using the bezierthrough plugin as well to tween along a path.
i have used the motion editor in the ide to copy all values that change along the path into a tweenlite instance as follows:
TweenLite.to(item, 3, {bezierThrough:[{x: 486.6,y: -46.4,z: 408.1, rotationX: -36.6, rotationY: 2.1, rotationZ: 1.1}, {x: 488.6,y: 24.9,z: 542, rotationX: -39.9, rotationY: 1.2, rotationZ: 1.8}, {x: 492.3,y: 99.9,z: 672, rotationX: -41.9, rotationY: -0.2, rotationZ: 1.7}, {x: 524.3,y: 187.9,z: 745, rotationX: -44.9, rotationY: -0.2, rotationZ: 1.7}, {x: 567.8,y: 278.9,z: 847, rotationX: -45, rotationY: -2.3, rotationZ: 1}, {x: 744.2,y: 560.1,z: 1302.7, rotationX: -45, rotationY: -2.3, rotationZ: 1}], ease: Linear.easeNone});
the problem is this tween acts differently to how it does when playing the tween on the timeline in the ide, it seems between bezier points the object moves from side to side, whereas it doesn't in the timeline tween.
you can see the two examples here: (please ignore the colour of the objects, they are irrelevant)
the correct motion using timeline : http://disturbmedia.com/alex/tweens/timeline.swf
the tweenlite motion which kind of wobbles between bezier point : http://disturbmedia.com/alex/tweens/tweenlite.swf
i have noticed that on each keyframe the 3d center point has different values, but i don't see any way of adjusting these using code.
does anyone know if this is what is making my tween appear different by using these two different methods?
is there something i'm missing or not using correctly in tweenlite?
thanks!