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

Cocos 踩坑 #226

Open
bingoogolapple opened this issue Nov 13, 2023 · 0 comments
Open

Cocos 踩坑 #226

bingoogolapple opened this issue Nov 13, 2023 · 0 comments
Labels

Comments

@bingoogolapple
Copy link
Owner

问题:在 3.8.1 版本中,球体和地面的物理材质都设置弹性系数为 1 的情况下,球体无法回弹

原因:在 3.8.1 版本中,添加球碰撞器组件 SphereCollider 时 Center 的默认值不是 0 0 0

image

解决方案:手动修改 SphereCollider 的 Center 为 0 0 0

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

No branches or pull requests

1 participant