
I am currently using the Chipmunk C-API to create a small system where there is a character with several states (stand, jump, run...). Each of these states has an animation and a cpBody with possibly several cpShapes attached. The idea is that the state will change given input ( touch nothing and they stand, touch the space key and they jump), and the appropriate animation and body/shapes for the character will change to match the new state.
I would like to know, what is the best way to "enable" and "disable" the bodies/shapes when I need to switch to or from them being the desired "active" body/shapes?

Are there any better or more efficient ways?