I'd like to stretch a sprite based on the movemnt/velocity direction. for simplicity sake the sprite is white 5x5 pixels. including a black 1x1 border
So for example if the sprite moves from current location towards '3oclock' that it would stretch/scale like thin line diagonally, similar for any other angle/radian based on random movement.
I tried taking the: vector2 position - original position, and then using this with: length() for either x and y scale values but this produces large scale blocks and not a line?
Any ideas? on scaling and calculating the angle of direction
Paul.