Now possible to specify the gravity center when getting the pos of an object
getPosX(0.5f) will return the center of the object