Layabox位移和旋转动画(转)

上代码:

//两秒内位移和旋转动画
Laya.Tween.to(this.scene.getChildByName("Box").transform, {  
    localPositionZ : 0,
    localPositionX : 0,
    localPositionY : 0,
    localRotationX : 0,
    localRotationY : 0,
    localRotationZ : 0,
}, 2000,null,null,0,false);    

原文:

layabox位移和旋转动画_layabox人物移动_chengchengbox的博客-CSDN

猜你喜欢

转载自blog.csdn.net/weixin_42565127/article/details/133795249