Cokemonkey11
New Member
- Reaction score
- 18
I want to make system that basically says
if move angle is > facing angle, set move angle = move angle - 1
else set move angle = move angle + 1
There is a problem tho. If move angle is 350 and facing angle is 10, it will turn the wrong way (i think)
So how would I go about setting this up on basically like a number line so that 10 degrees is closer to 350 than 320 is?
Thanks,
if move angle is > facing angle, set move angle = move angle - 1
else set move angle = move angle + 1
There is a problem tho. If move angle is 350 and facing angle is 10, it will turn the wrong way (i think)
So how would I go about setting this up on basically like a number line so that 10 degrees is closer to 350 than 320 is?
Thanks,