Stretch with rotation

Quick question, how does one go about stretching a sprite (texture) in one direction and take rotation into consideration?

Do you have to rotate the sprite, then work out the destination rectangle size for the draw command, or is there a simpler way?

Check SpriteBatch class Draw method overloads and you will find that it has one with all you need. :slightly_smiling:

in case you need detailed help:

You’ll want to set the sprites origin to the center of the sprite.
then draw the sprite on the vector that corresponds to your pivot point within the world…
whatever rotation you have is also applied in the draw-method overload…
oh yeah, and for the SCALE, you can pass a vector2 to your draw method, to scale along the x or y axis separately…

Ah! That makes sense. Thanks Monopalle.