
// Vehicle movement affects driver's head physics, but head does NOT
// influence vehicle dynamics.  This violates Newton's 3rd law, but
// allows user to configure head physics without "cheating".

HeadMass=6.0                     // Head and helmet
HeadInertia=(0.032,0.028,0.029)  // Head and helmet
MinPos=(-0.03,-0.08,-0.050)       // Minimum extents of position (should be negative)
MaxPos=( 0.03, 0.08, 0.015)       // Maximum extents of position (should be positive)
MinOri=(-7.0,-7.0,-7.0)          // Minimum degrees of pitch, yaw, roll (should be negative)
MaxOri=( 7.0, 7.0, 7.0)          // Maximum degrees of pitch, yaw, roll (should be positive)

// There are three types of springs to control head movement:
//
// Sliding = spring/damper force maintains given direction relative to vehicle
// Normal = spring/damper force in direction between connection points
// FreeDamping = spring is normal, but damper resist velocity in any direction
//
// Parameters for springs are:
//
// SpringDir = direction of spring/damper forces (automatically normalized, not valid for Normal springs)
// SpringHead = connection to driver head (relative to head center)
// SpringBody = connection to vehicle body (relative to head center)
// SpringCollLen = if more than zero, spring doesn't take effect until minimum length has been reached
// SpringParams = spring rate and damper rate

Spring=Sliding
SpringDir=(0.0,1.0,-0.0)      // up/down
SpringHead=(0.0,-0.05,0.01)
SpringBody=(0.0,-0.05,0.01)
SpringParams=(1000.0,225.0)

Spring=Sliding
SpringDir=(0.0,-0.0,-1.0)     // forward/back
SpringHead=(0.0,-0.05,0.01)
SpringBody=(0.0,-0.05,0.01)
SpringParams=(1700.0,382.0)

Spring=Sliding
SpringDir=(1.0,0.0,0.0)       // lateral
SpringHead=(0.0,-0.05,0.01)
SpringBody=(0.0,-0.05,0.01)
SpringParams=(8500.0,351.0)

Spring=FreeDamping            // resists yawing and rolling
SpringHead=(2.0,0.0,0.0)
SpringBody=(2.0,0.0,0.0)
SpringParams=(63.9,1.31)

Spring=FreeDamping            // resists yawing and pitching
SpringHead=(0.0,0.0,2.0)
SpringBody=(0.0,0.0,2.0)
SpringParams=(21.3,1.52)
