There was a really nice article some months ago about a Processing library to modify an object's center of gravity by playing on the internal mass infill and altering slightly the general shape with "handles".
Crazy cool stuff.