Move the object based on the object rotation