rotation positive and negative numbers
Hi all,
I am creating a roulette type game that calculates the winning number based on the rotation of the main wheel. I am using if/else statements to determine the winning number based on the rotation. I am tracing the rotation in the output panel. I would like my rotation to go from 0-360, but the output panel traces 0-180 then it starts counting from "-180-0"
The wheel can spin multiple times. Any idea how to keep the numbers positive from 0-360 and not have to write my if else to accomodate the negative numbers?
Thanks!