tweenjs / tween.js

JavaScript/TypeScript animation engine

Home Page:https://tweenjs.github.io/tween.js/

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Nested object do not work (any more?)

GuichiZhao opened this issue · comments

var nestedObject = {scale: {x: 0, y: 0}, alpha: 0}
var tween = new TWEEN.Tween(nestedObject).to({scale: {x: 100, y: 100}, alpha: 1})

Only alpha work, not x and y

@GuichiZhao Sorry I missed this (because you closed it). Didn't have an issue after all?