Hello physics people. I have some questions. I have this beautiful shopper and his shopping cart. (Fig1 https://i.imgur.com/Vjt1jYo.png) I’m moving him around my level with addforce - so he needs a rigidbody, and I want to be able to have items in the cart. Unfortunately, none of the primitives allow for this, and you can’t use non-convex mesh colliders with a rigidbody. As a result, I’ve set up 5 box colliders around my cart on separate game objects for each side and the floor. (Fig2 https://i.imgur.com/uXY6TGo.png). So, with that context, some questions:
- If I drop some primitive shapes with rigibodies into my cart, they work as expected, until I start moving around the level. It would be fine if they escape out of the cart through the open top, but they often fall through the walls of the cart itself
- The movement when I had a single box collider for both the player and the cart was much better, but now I have a bunch of colliders as child gameobjects, it barely moves around anymore with rb.AddForce.
- Essentially I want the cart to move around the level, and to be able to contain items that also move around the level
Really struggling to get Unity physics to behave here so open to any suggestions or better ways of achieving this.
Fig 1

Fig 2
