admin管理员组文章数量:1350351
Having weird behavior. I have downloaded cabinet and desk model. I set both same way - both have rigid body and box collider. The collider is set properly by default. When I start the game, the desk behaves weird - the box collider falls down as expected, but its body stays in the same position. I have no clue what is going on. Any suggestion how to make the body move with the box collider? I am not using any script at all. I can also reproduce the issue, when I touch the desk with my player. Its box moves, the desk does not.
Video here:
Thanks
Having weird behavior. I have downloaded cabinet and desk model. I set both same way - both have rigid body and box collider. The collider is set properly by default. When I start the game, the desk behaves weird - the box collider falls down as expected, but its body stays in the same position. I have no clue what is going on. Any suggestion how to make the body move with the box collider? I am not using any script at all. I can also reproduce the issue, when I touch the desk with my player. Its box moves, the desk does not.
Video here: https://fileport.io/HMVVcKWpTKGV
Thanks
Share Improve this question edited 2 days ago victory asked Apr 1 at 19:20 victoryvictory 1971 gold badge3 silver badges18 bronze badges1 Answer
Reset to default 0Arhg! My desk object was marked as static. No idea why! Maybe that is how I downloaded it from internet? Or clicked by accident myself? After unchecking static, the object moves with box collider.
Answer here helped me:
Animation are moving the box collider and not the object in unity
本文标签: cUnity 6 Box collider is movingbut the body (object) stays in placeStack Overflow
版权声明:本文标题:c# - Unity 6: Box collider is moving, but the body (object) stays in place - Stack Overflow 内容由网友自发贡献,该文观点仅代表作者本人, 转载请联系作者并注明出处:http://www.betaflare.com/web/1743876986a2554508.html, 本站仅提供信息存储空间服务,不拥有所有权,不承担相关法律责任。如发现本站有涉嫌抄袭侵权/违法违规的内容,一经查实,本站将立刻删除。
发表评论