Sets or returns the angle units (degrees or radians) for all properties and methods that have angle-type arguments. Read/write VbtAngleUnits.
| VbtAngleUnits can be one of the following: |
| vbtDegrees Degrees |
| vbtRadians Radians |
The default angle unit is degrees.
The following example sets the AngleUnits property to radians, performs some angle related tasks, and then resets the AngleUnits property back to degrees.
World.Math.AngleUnits = vbtRadians
Bots.Turn World.Math.PI/4
World.Math.AngleUnits = vbtDegrees