title: 2D BoundingRectangle rotation in XNA 4.0
body: <p>I'm having trouble working out what I need to do in order to have a 2D BoundingRectangle for a sprite object in my game rotate and update position depending on which way the user wants the sprite to travel.</p>
  
  <p>I draw out the sprite with it's rotation and scale values like so:</p>
  
  <pre><code>spriteBatch.Draw(texture, position, null, Color.White, rotation, origin, scale, SpriteEffects.None, 1f);
  </code></pre>
  
  <p>My current setup for getting the BoundingRectangle is:</p>
  
  <pre><code>public Rectangle BoundingRectangle
  {
      get { return new Rectangle((int)position.X, (int)position.Y, texture.Width, texture.Height); }
  }
  </code></pre>
  
  <p>The above is very basic and obviously won't rotate with the sprite.
  I've read a few QA posts and tried various things but none of them seem to achieve what I'm after or create very odd behaviours.</p>
  
  <p>I'd be grateful for some suggestions on what I need to do.</p>