move object transformations to game object