title: Is there a way to rotate an sf::FloatRect
body: <p>I'm making a collision detection system in my project, and I need to detect collisions on a rotated texture.</p>
  <p>To detect to collisions, 4 <code>sf::FloatRect</code> objects are made around the main character texture (for detecting collision to the left, right, up and down), and a <code>sf::FloatRect</code> is made using the position of a texture and it's dimentions. If one of the 4 <code>sf::FloatRect</code> objects around the main texture intersect the other <code>sf::FloatRect</code>, a collision is detected.</p>
  <p>The problem comes when the texture on which I want to detect collision is rotated. The <code>sf::FloatRect</code> does not rotate.</p>
  <p>Is there a way to rotate it? Or is there a substitute for it in this situation? I looked through the online documentation for SFML and I couldn't find any way to rotate it.</p>
  <pre><code>    RectangleShape collisionArea(Vector2f(pos[2], pos[3]));
      collisionArea.setPosition(pos[0], pos[1]);
      collisionArea.setRotation(rotation);
  
      FloatRect box = collisionArea.getGlobalBounds();
  
  
          FloatRect areaLeft(position.x - movementSpeed, position.y, movementSpeed, textureDimentions.y);
          FloatRect areaRight(position.x + textureDimentions.x, position.y, movementSpeed, textureDimentions.y);
          FloatRect areaUp(position.x, position.y - movementSpeed, textureDimentions.x, movementSpeed);
          FloatRect areaDown(position.x, position.y + textureDimentions.y, textureDimentions.x, movementSpeed);
  
          if(box.intersects(areaLeft))
          {
              collidingMap[0] = true;
          }
  
          if(box.intersects(areaRight))
          {
              collidingMap[1] = true;
          }
  
  
          if(box.intersects(areaUp))
          {
              collidingMap[2] = true;
          }
  
  
          if(box.intersects(areaDown))
          {
              collidingMap[3] = true;
          }
  </code></pre>