38 float friction_factor = (*material).get_friction_factor();
44 wet = (precipitation->getDoubleValue() > 0.0);
45 snow = (wet && temperature->getDoubleValue() <= 0.0);
46 water_body = (*material).solid_is_prop();
47 solid = (*material).get_solid();
48 frozen = (water_body && solid);
56 roling_friction_factor = 0.05f;
57 static_friction_factor = 0.125f*friction_factor;
61 roling_friction_factor = 0.15f;
62 static_friction_factor = 0.375f*friction_factor;
67 roling_friction_factor = 0.05f;
68 static_friction_factor = 0.375f*friction_factor;
70 pressure = (*material).get_load_resistance()*1000;
74 roling_friction_factor = (*material).get_rolling_friction()/0.02f;
75 bumpiness = (*material).get_bumpiness();
76 static_friction_factor = friction_factor;
77 if (wet) static_friction_factor *= 0.75f;
78 pressure = (*material).get_load_resistance();