Implement set_{rotation, translation, transformation} for Object.