How to get x,y from an angle for bullet?

Hello, i have made D Pad and when i rotate my space ship, i need to get coordinates for bullet.

Isn’t it just sin/cos ?

-- x0,y0 is where the bullet should start -- (maybe the spaceship's coords?) x = cos( alpha ) + x0 y = sin( alpha ) + y0

or else we’d need more info or, better yet, some code to look at.

Isn’t it just sin/cos ?

-- x0,y0 is where the bullet should start -- (maybe the spaceship's coords?) x = cos( alpha ) + x0 y = sin( alpha ) + y0

or else we’d need more info or, better yet, some code to look at.