When the “onTriggerExit2D” is triggered & the collider is not touching the surface, the entire sprite flips & the face of the dino is located where the box collider is. What I am ideally looking for is for the flipping of the animation around the box collider, as opposed to flipping the entire sprite. That way, the feet would still be above the ground, as opposed to only the dino’s face is above the ground.
Thoughts?
Steve
See your bounding box? It’s way too big. Start with that. What I mean is, you see all that leading dead space in your sprite (and a bit on the bottom/top too), jump into the sprite editor and trim that out.
That being said, I thought about it more and you could always change the pivot point (center) of your sprite to the center of the dinosaur. That way it’ll pivot more of where you’d expect.
Either way, you may need to adjust your colliders.