Writing configuration files

From The Player Project

Jump to: navigation, search
(Units)
(Units)
Line 147: Line 147:
For convenience, the user may specify lengths and angles in the configuration using different units. By default, lengths are assumed to be given in meters, with angles in degrees. The units can be changed using the global (i.e., not inside a driver section) options unit_length and unit_angle; e.g.:
For convenience, the user may specify lengths and angles in the configuration using different units. By default, lengths are assumed to be given in meters, with angles in degrees. The units can be changed using the global (i.e., not inside a driver section) options unit_length and unit_angle; e.g.:
-
 
+
-
unit_length "cm" # Change length units to centimeters
+
    * unit_length "cm" # Change length units to centimeters
-
unit_angle  "radians" # Change angle units to radians
+
    * unit_angle  "radians" # Change angle units to radians
Valid values for unit_length are:
Valid values for unit_length are:

Revision as of 21:04, 1 March 2007

Personal tools