Topic was automatically imported from the old Question2Answer platform.
Asked By
banana_bush
I want to flip the player, but i don’t want to go and flip everything in the body by itself. Is there a better way to do this, somehow flip the whole body and everything in it?
How I solved that problem is by adding a Node2D child to the kinematic body 2d node. Anytime I wanted to add something (like a sprite) that would flip when the kinematicbody2d should face right/left I added the child node to the Node2D. That way , by scaling the Nod2D to mirror it (scale.x = scale.x * -1), you effectivly mirror/flip the kinematicbody2d without flipping it’s physics collision boxes