A way to rotate object 90 degrees when it becomes child of parent?

In my game I have the player become the child of a cart so when the cart moves forward the player follows, but the cart’s forward rotation is to the left of the way it is moving, so do i need to adjust the Cart rotation somehow, rotate the play when the become child, or something else?

Hello there,

In this situation I would recommend making an empty, invisible child for your cart.
You can call it something like “player position” or “player container”, and move/rotate it as much as you need.

If you make your player a child of this object instead of the cart directly, then you can adjust its transform as much as you want regardless of the cart’s transform.


Hope that helps!

Cheers,

~LegendBacon