How to change the physics shape when display Frame animation

Now I have display a frame animation in my game.But with different frams in the animation,I want it have different physical bosy shaps.How I can do that?

You probably don’t want to - instead if you really need the physics body to change shape, construct it out of several parts, joined together.

If you try to actually change the physics body it will likely cause physics problems in the physics world (tunnelling etc.)