How would I find a random direction to send an object flying towards? Say I want to send an object flying towards 56 degrees how can I actually move an object in the x and y plane to that direction? Normally I would just have a x speed and y speed but when i make a random explosion effect I get a square.
1 1 1 1 1
1 1
1 0 1
1 1
1 1 1 1 1
0 is the origin of the explosion.
I want
1
1 1
1 0 1
1 1
1
Can I just find a random number between 360 and send the object in that direction?