-
Notifications
You must be signed in to change notification settings - Fork 1.8k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
3.8.3在2D引擎下节点沿X轴或者Y轴旋转,节点只显示了一半 #16999
Comments
你这个节点是一个 2D sprite?如果是 2D 面片,绕 Y 轴旋转 90 度,应该直接不显示了吧。 因此,为了避免理解上的差异,请提供一个 Demo,和描述一下你的预期。 另外,我猜想,你是说动画过程中少了一半?还是动画结束时? |
我按你的实例代码,写了个测试例验证,并没有出现此问题。所以还是提供一个示例 demo。 |
2D的项目,节点也是2D的,实现一个翻牌效果,动画一开始就直接少一半,动画完毕后正常,Anchor Point设置的0.5,0.5!引擎3.8.2和3.8.3都有这个问题。2D项目相机要什么特殊配置么?我是直接创建的2d工程 |
截图一下你的相机属性面板。 |
demo如下 |
收到,我定位一下。 |
https://forum.cocos.org/t/topic/157659 我是默认生成的项目,所以没有关注相机的问题 |
嗯,那可能某个版本相机参数有调整。 |
希望还是优化一下,或者是说明一下吧,做2D的项目,对这个关注真不多!还是谢谢了 |
嗯。我测试跟进一下。感谢反馈。 |
明白了,我的size是400400。anchor point是0.50.5 |
是的。 另外,我查到历史:#13170 |
@wuzhiming |
感谢反馈,已经修复 |
Cocos Creator version
3.8.3
System information
Macos, Chrome
Issue description
翻转动画时,直接少一半
Relevant error log output
No response
Steps to reproduce
Tween.stopAllByTarget(this.node_test);
this.node_test.setRotationFromEuler(v3(0, 0, 0));
tween(this.node_test)
.to(0.25, { eulerAngles: v3(0, 90, 0) })
.start();
Minimal reproduction project
No response
The text was updated successfully, but these errors were encountered: