# mBoundingBoxBottomAdjust = 0.0 # How hard do we need to press the accelerator? Higher number means lower pressure for full acceleration mAcceleratorMultiplier = 4.0 # RPM at which to shift down gears mChangeDownRPM = 1000.0 # RPM at which to shift up gears mChangeUpRPM = 3500.0 # Friction mCoeffOfFriction = 0.1 # Restitution? mCoeffOfRestitutionWithWorld = 0.5 # How much we stick to the ground mDownForceCoeff = -9.5 #mDownForceCoeff = -1.0 # Wind resistance #mDragCoeff = 6.5 mDragCoeff = 1.5 # ??? mEngineFrictionTorque = 0.0 # Idle speed mEngineIdleRPM = 500.0 # Red line mEngineMaxRPM = 4500.0 # How quickly the engine will accelerate/slow down mEngineMomentOfInertia = 25.0 # Amount of engine braking mEngineBrakingFactor = -5000.0 # Amount of front/back body roll during braking - more negative = more roll mForceApplyHeightBrake = -0.1 # Amount of front/back body roll during acceleration mForceApplyHeightAccel = -0.055 # Amount of body roll during normal steering mForceApplyHeightSteering = -0.12 # Amount of body roll during steering mForceApplyHeightDrifting = -0.14 # Maximum steering angle at high velocity mSteeringAngleMin = 5.5 # Maximum steering angle at low velocity mSteeringAngleMax = 10.0 # High velocity for above steering angle - meters/sec mSteeringAngleMinVelocity = 25.0 # Low velocity for above steering angle - meters/sec mSteeringAngleMaxVelocity = 12.0 # Amount that steering can change in 1 frame - low values = sluggish repsonse, max value = 2.0 mSteeringResponse = 0.050 # Amount of decelleration due to steering - the higher the number, the more speed you lose mSteeringDragCoeff = 1.5 # How strong the brakes are mBrakingFactor = 2.0 # Sine of maximum drift angle (eg 45 degrees = 0.707, 30 degrees = 0.5) mSinDriftMaxAngle = 0.3 # How "slippy" a "no accelerator" drift is mDriftScaleMin = 0.5 # How "slippy" a "max accelerator" drift is mDriftScaleMax = 0.8 # How fast drifts turn at 60mph mDriftMaxAngularMomentumAt60 = 800 # How fast drifts turn at 110mph mDriftMaxAngularMomentumAt110 = 1150 # How easily the car autodrifts mAutoDriftDelay = 1.0 # How responsive the drift is to steering mDriftTurnRate = 1.0 # Slowest speed at which drifting is possible (MPH) mDriftMinSpeed = 85.0 # Pressure required on brakes at maximum speed (130MPH) to trigger a drift (less than 1.0) mDriftMaxSpeedPressure = 0.9 # How much speed to retain after a wall collision - smaller number = slower speed after collision mWallCollisionPenalty = 0.98 # mLowSpeedDrivingModelThreshold is in miles per hour mLowSpeedDrivingModelThreshold = 25.0 # how much you can steer during low-speed driving model mLowSpeedSteeringAngleMax = 12 # two factors to fiddle with that affect how quickly the LSDM lets the car acclerate mLowSpeedTorqueFactor1 = 0.05 mLowSpeedTorqueFactor2 = 0.02 # How far from the middle of the car is the fron axle? mFrontDist = 2.3 # ...and the rear axle mRearDist = -2.3 # Gear ratios mGearRatioFinal = 4.49 mGearRatioReverse = -3.44 mGearRatios[0] = 0.0 mGearRatios[1] = 1.6 mGearRatios[2] = 1.2 mGearRatios[3] = 0.9 mGearRatios[4] = 0.65 mGearRatios[5] = 0.52 mGearRatios[6] = 0.0 # Gravity mGravityCarDown = 10.0 mGravityDown = 10.0 # Suspension mSprings[0].mCarJoinPosLocal.y = 0.15 mSprings[0].mNaturalLength = 0.5 mSprings[0].mConstant = 15000 mSprings[0].mDamping = 500 mSprings[1].mCarJoinPosLocal.y = 0.15 mSprings[1].mNaturalLength = 0.5 mSprings[1].mConstant = 15000 mSprings[1].mDamping = 500 mSprings[2].mCarJoinPosLocal.y = 0.15 mSprings[2].mNaturalLength = 0.5 mSprings[2].mConstant = 15000 mSprings[2].mDamping = 500 mSprings[3].mCarJoinPosLocal.y = 0.15 mSprings[3].mNaturalLength = 0.5 mSprings[3].mConstant = 15000 mSprings[3].mDamping = 500 # Engine torque #mTempEngineTorque = 1400.0 mTempEngineTorque = 900.0 # Mass of car #mMass = 600 mMass = 950 # Inertia tensor. mInverseInertiaTensorLocal.a = 0.0010 mInverseInertiaTensorLocal.e = 0.0011 mInverseInertiaTensorLocal.i = 0.0008 #mInverseInertiaTensorLocal.a = 0.0004 #mInverseInertiaTensorLocal.e = 0.0011 #mInverseInertiaTensorLocal.i = 0.0004