Hey guys,
Sure this has been answered but I am having trouble finding an answer.
Working with Three.js and want to condense my tweening.
I remember reading about a new way to tween values of properties in one tween.
This...
TweenMax.from(sprite.position, 5, {z:40})
versus...
TweenMax.from(sprite, 5, {position:{z:40}})
No, that old plugin was for v2 and earlier. In GSAP 3, the plugin architecture has changed.
I don't have the time right now to thoroughly dig into creating and testing the GSAP 3 equivalent, but here's some minified code that may do the trick for ya in GSAP 3:
!function(e,i){"object"==typeof exports&&"undefined"!=typeof module?i(exports):"function"==typeof define&&define.amd?define(["exports"],i):i((e=e||self).window=e.window||{})}(this,function(e){"use strict";fu