I have very little experience with box2d, but basically it seems to me that it is possible to attach to it a sprite (that is, a bounding box enclosing the sprite itself) and let box2d to check for collisions.
Now, suppose that our animation is composed of N sprite (for example, a character walking) and that the sprites are not equal in terms of width and/or height of their minimal bounding box.
How do you do with box2d? Compute an average box to enclose the sprites or change the box width/height at every sprite change? The first method seems to fit well only those situations where the sprites bounding boxes are similar.
If that is not the case, the second way is surely the most precise, but I wonder if that is computationally heavy (I mean, to change the size of a box everytime we change the animation frame).
Any advice/ideas are welcome!