Apr-19-2021, 05:46 PM
I don't like your logic. Why don't you use just 3 variables reflecting the 3 dimensions, rather than 6? Would it not make sense that LeftRight could be incremented if turn right, decremented if turn left, rather than using the difference between the 2?