I have a sprite. Facing right, he looks like this:
With a rapid tap of the left key, the bounding box hardly moves (just a light tap–i was trying to not move that little guy), but my sprite flips to the opposite side of the box:
As you can see, the bounding box edge is aligned with my sprite’s spine. I want my bounding box behavior to stay as it is, but just shift the art inside the box. I’ve tried using
body.setOffset(...), but that seems to have bad behavior on my bounding box.
Can someone point me the right direction? Thanks!