How to use x and y to get angle and +-
I don't get how or which option i should use to turn x and y into angle z*.
I need it for spawning projectiles, so they look like a water gush.
Also how do i make +-? If i get that angle is 45* how do i make 45*+-5*?
Thanks in advance!
I need it for spawning projectiles, so they look like a water gush.
Also how do i make +-? If i get that angle is 45* how do i make 45*+-5*?
Thanks in advance!
Comments
Use vector to angle(farX-selfX,farY-selfY)
Isn't there some way to just take x/y to get angle to?