I have a tank, turret, and barrel, each with sockets and assembled in the viewport via snap to socket.
Everything works out for changing the static mesh during gameplay and the attached components also change socket locations, and stay attached to their parent static mesh (which is intended).
I am testing two different tank meshes, each with the turret located in different parts of the base mesh (one in center and one towards the back).
When I change from the tank mesh with the turret further back to the one with the turret in the center, the vehicle tilts forward. Physics are set to affect it and I believe that it is the center of gravity that has changed.
How can I reset the center of gravity when static meshes during gameplay? If this is not the problem, does anyone have input on this issue?