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 badges
Add a comment  | 

1 Answer 1

Reset to default 0

Arhg! 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