|
Global Attributes
[Models]
The param:Global tag is used to specify certain global parameters for the server. E.g.:
<param:Global>
<gravity>0.0 0.0 -9.8 </gravity>
<stepTime>0.020</stepTime>
</param:Global>
The parameters are as follows:
- speed (float)
- Target simulation speed (e.g. speed 2 yields twice real time).
- Default 1.0
- gravity (float vector)
- The gravity vector (m/sec/sec); the default corresponds to Earth gravity.
- Default 0 0 -9.8
- stepTime (float)
- The minimum step time for the simulator. Reducing the step time will increase the fidelity of the physical simulation, but consume more CPU time. If you have particulary complex system that appears to be diverging (i.e., objects "explode" when they come into collision), consider reducing the step time.
- Default 0.020
- pause (bool)
- Set to true to start the simulator in paused mode.
- Default: false
- dayTime (float)
- Real time seconds since 12am. Negative number for local time
- Default: -1.0
- utmZone (integer)
- UTM (Universal Transverse Mercator) zone for calculating latitudes and longitudes from UTM easting and northings.
- Default 0
- utmOffset (float vector)
- UTM value (easting and northings) of world origin (used for calculating object UTM coordinates). The z-value can also be used to specify an altitude offset.
- Default 0
- skyColor (float vector)
- The color of the "sky", i.e., the default background color.
- Default 0.7 0.7 0.9
- fogDensity (float)
- Density of the ambient fog (see OpenGL docs for details).
- Default 0.25
|