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!