Added rotation collision detection and response