Add rotation for the object.