AngleUnits Property

See Also Applies To Example Model

Sets or returns the angle units (degrees or radians) for all properties and methods that have angle-type arguments. Read/write VbtAngleUnits.

Remarks

The default angle unit is degrees.

Example

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