[LayaAir3]Sprite3D缓动使用chain会报错

 Laya.Tween.create(this.test.transform)
            .duration(2000)
            .to("localPosition", new Laya.Vector3(-3, 2, -5))
            .chain()
            .duration(2000)
            .to("localPosition", new Laya.Vector3(3, -2, -8))
            //.to("localRotationEuler", new Laya.Vector3(3, -2, -8))这个是刚创建空白3D项目,里面的test用的是自带的cube,没用chain()的时候运行不会报错,使用了chain想移动到某个地方后再次移动就报错了:
DEMO已经上传,其实就是一个简单的空白3D项目,只做了个缓动使用了chain就报错了。
已邀请:

LayaAir小牛

赞同来自: 乱起名字

您好,此问题需要内部检查一下,已在内部记录,如果写成分量就不会报错。例如:
Laya.Tween.create(this.test.transform)
            .duration(2000).to("localPositionX", -3).to("localPositionY", 2).to("localPositionZ", -5)
            .chain()
            .duration(2000).to("localPositionX", 3).to("localPositionY", -2).to("localPositionZ", -8)
            .chain()
            .duration(2000).to("localRotationEulerX", 3).to("localRotationEulerY", -2).to("localRotationEulerZ", -8);

乱起名字

赞同来自:

官方大大呢?是我的用法有问题吗?还是不能这么用直接用then搞个缩进地狱

该问题目前已经被锁定, 无法添加新回复

商务合作
商务合作