# How to calcolate moving vector of object by its rotation degress in 2d

i have object in game which is rotating when i move my joystick , now i need to calculate its movement vector by its rotation
the object always moving forward and controlled by the joystick , the joystick is only setting its direction by degree .
here is the image which illustrate the scene .
i need some formula of the vector which the object will move .

v.x := sin(angle) * velocity

angleInRadian := angle / 180 * pi