Coordinate system

Drawing

Some behaviors are using an angle range from 0° to 180° (clockwise) and 0° to -180° (counter-clockwise) you can convert from the -180° range to the 360° range with the following formula:

(angle + 360) % 360

source: hcatarrunas

Last updated