Added object rotation based on mouse position.