Ok,
I have an object. It has the following variables:
- rotation (in degrees, 0..360)
- xpos
- ypos
I want to move it forwards when the up arrow is pressed.
My brain is dead and I can't work out how to do it. It needs to move along x and y depending on what value rotation is.
Can someone put me out of my misery?
I have an object. It has the following variables:
- rotation (in degrees, 0..360)
- xpos
- ypos
I want to move it forwards when the up arrow is pressed.
My brain is dead and I can't work out how to do it. It needs to move along x and y depending on what value rotation is.
Can someone put me out of my misery?