Hi,
If the attribute is multi parted like a 3d coordinate,
how can the attribute plugin animate between the multiple numbers (x y z) -> (x y z) ?
My object has the following markup:
<object id="object_A" rotation="0 0 0"></object>
How can i use the attribute plugin or another method to tween the coordinates?
{attr:{rotation: "0" }}, { attr:{rotation: " 80" }
works but only effects the Z coordinate.
I was hoping that it was possible without access to the individual coordinates such as 'rotationX' or 'rotation-x'
My try fails silently:
var objectA = $( '#object_A' );
tlAnimationTimeline
.fromTo( objectA, 10, {attr:{rotation: "0 0 0" }}, { attr:{rotation: " 0 360 180" }, ease: Strong.easeOut, repeat: -1, yoyo: true} )