From what I understand, the only way to change a physics object’s shape is to remove it and create it again. But I’m making a game where you should be able to change shape while it’s moving, for example a square to a circle. So, I somehow need to copy the physics state from the previous shape to the new shape.
How should I approach this problem?