Is it possible to animate object on circle path using Circlepath2d, but also transform it around its center?
How to combine:
path = new CirclePath2D(settings.x, settings.y, radius);
or
path = new RectanglePath2D(setting.x, setting.y, setting.xEnd - setting.x, setting.yEnd - setting.y);
or
path = new LinePath2D([new Point(setting.x, setting.y), new Point(setting.xEnd, setting.yEnd)]);
follower = path.addFollower(item);
TweenMax.to(follower, settings.duration, { progress:1 } );
With:
TweenMax.to(item, settings.duration, { transformAroundCenterStarling: { x:settings.x, y:settings.y, scale:toScale}} );