Added rotation and collision checking to enable it