I downloaded a free player sprite off the asset store, and I noticed after creating a script to allow my player to move, when I switch from moving left or right, instead of rotating on a center joint, he changes the direction he’s facing and ALSO his current position. It causes some problems such as allowing the player the get stuck in a wall, or even teleport themselves off the platform. I’ve attached a video to show you exactly what I mean.
How are you doing the flip?
Because if you change localPosition or localScale to flip your player. Instead, you can flip the character through the SpriteRenderer
i think, it flips around the sprite pivot point (somewhere at the nose from this pet). You can move the sprite renderer on the child object and make it bit offset on the x-axis from the main object with collider and other things. Or move the pivot point in the sprite editor to the middle of the body.