Skip to content
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

2.1.0 rotation变angle了 求更新 #15

Open
k8w opened this issue Dec 6, 2018 · 2 comments
Open

2.1.0 rotation变angle了 求更新 #15

k8w opened this issue Dec 6, 2018 · 2 comments

Comments

@k8w
Copy link

k8w commented Dec 6, 2018

如题
angle和rotation不同 希望更新2.1.0新特性

@tidys
Copy link
Owner

tidys commented Dec 13, 2018

具体是哪部分代码呢?
能指明下问题吗?

@k8w
Copy link
Author

k8w commented Dec 21, 2018

Creator 2.1.0中 this.node.rotation 变成了 this.node.angle
rotationangle 的方向是反的,rotation是顺时针角度,angle是逆时针角度

所以拿CocosCreatorPlugins 看2.1.0的项目,rotation全部是反的

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants