Shopping Cart in 3d Person

I am making a game where the third person character at some point will push a shopping cart forward. Now I’m pretty new to all of the Unity3D scripting so it’s still difficult from time to time.

Now I have a Game Object “ShoppingCart” which contains the shopping cart model and I have my third person character. I can’t seem to get it working properly. I’ve made the Shopping Cart a child object of the third person character so that it follows its position. This seems to be working more or less but the problem is I made it a child object of it root joint. So the shopping cart always moves up and down as the character breathes. Is there any way possible to push the cart forward in front of the main character without it moving vertically or something and in a proper way?

Thx in advance!

In most cases I find it helps to treat models as mere graphics and keep them complete and untouched in an object hierarchy.
So you would create an empty object called Cart then child the cart model under that and set its transform to 0/0/0/0/0/0/1/1/1 then try hard not to add any components to the cart model or move it or child anything under it. Do everything to the Cart object at the top if possible. Since the graphics are childed under it they will follow it around exactly.

You can do the same thing with characters.

This makes it much easier to change your models later if you want to.