<root>
    <initData>
        <uniqueID>Motor Cycle</uniqueID>
        <data>
            <classType>MotorCycle</classType>
            <gmfFilename>resources/models/vehicles/MotorCycle/MotorCycle.xml</gmfFilename>
            <mass>1.0</mass>
	    <materialLookup>
          	<materialID>Steel</materialID>
          	<prim>PRIM_Box02</prim>
      	    </materialLookup>

            <materialLookup>
          	<materialID>Launch</materialID>
          	<prim>PRIM_LaunchBox</prim>
      	    </materialLookup>

            <materialLookup>
          	<materialID>SwitchToRagdoll</materialID>
          	<prim>PRIM_RiderRagdoll</prim>
      	    </materialLookup>

	    <steerAngleMax>1.5</steerAngleMax>
            <steerAngleMin>0.7</steerAngleMin>

	    <steerRateMin>25.0</steerRateMin>
	    <steerRateMax>25.0</steerRateMax>
            <steerRateMaxSpeed>100.0</steerRateMaxSpeed>

            <rollSpeed>1.5</rollSpeed>

            <dropDist>25.0</dropDist>
            <sideDist>1.0</sideDist>
            <topSpeed>100.0</topSpeed>

            <drivingTorque>15.0</drivingTorque>
            <drivingTorqueRate>40.0</drivingTorqueRate>

            <joint>
               <name>FrontWheel</name>
               <jointClass>giHinge2Joint</jointClass>
               <jointInitID>Hinge2</jointInitID>
               <childClass>smCycleWheel</childClass>
               <childInitID>MotorCycleWheelFront</childInitID>
               <parentBone>wheel_front</parentBone>
               <childBone>wheel_front</childBone>
               <hideModel>1</hideModel>
            </joint>
            <joint>
               <name>BackWheel</name>
               <jointClass>giMotorJoint</jointClass>
               <jointInitID>Motor</jointInitID>
               <childClass>smCycleWheel</childClass>
               <childInitID>MotorCycleWheelBack</childInitID>
               <parentBone>wheel_back</parentBone>
               <childBone>wheel_back</childBone>
            </joint>

            <steering>
                <joint>FrontWheel</joint>
                <direction>1</direction>
            </steering>

            <power>
                <joint>BackWheel</joint>
                <direction>1</direction>
            </power>

            <wheelEmitterBone>
                <wheelName>BackWheel</wheelName>
                <boneName>EmitBoneBack</boneName>
            </wheelEmitterBone>
	
	    <damageThreshold>40.0</damageThreshold>
	    <startSound>Resources/Sounds/Vehicle/Motorcycle/Motorcycle1/start.wav</startSound>
	    <stopSound>Resources/Sounds/Vehicle/Motorcycle/Motorcycle1/stop.wav</stopSound>
	    <loopSound>Resources/Sounds/Vehicle/Motorcycle/Motorcycle1/loop.wav</loopSound>

            <forkModel>resources/models/vehicles/motorcycle/MotorCycle_Fork.xml</forkModel>
            <forkBone>fork_bone</forkBone>

            <wheelModel>resources/models/vehicles/motorcycle/wheel_front.xml</wheelModel>
            <wheelBone>wheel_front</wheelBone>

            <rider>
                <gmfFilename>Resources/Models/Vehicles/Motorcycle/Rider2/Body.xml</gmfFilename>
                <ragdollInitID>RiderRagdoll2</ragdollInitID>

                <parentBone>RiderBone</parentBone>
                <childBone>Bip01</childBone>
            </rider>
        </data>
    </initData>

    <initData>
        <uniqueID>MotorCycleWheelFront</uniqueID>
        <data>
            <mass>0.15</mass>
            <wheelMaterial>CycleWheelMaterial</wheelMaterial>
	    <name>MotorCycleWheelFront</name>
            <visible>1</visible>
            <gmfFilename>resources/models/vehicles/motorcycle/wheel_front.xml</gmfFilename>
            <snapToTerrain>0</snapToTerrain>
        </data>
    </initData>

    <initData>
        <uniqueID>MotorCycleWheelBack</uniqueID>
        <data>
            <mass>0.15</mass>
            <wheelMaterial>CycleWheelMaterial</wheelMaterial>
	    <name>MotorCycleWheelBack</name>
            <visible>1</visible>
            <gmfFilename>resources/models/vehicles/motorcycle/wheel_back.xml</gmfFilename>
            <snapToTerrain>0</snapToTerrain>
        </data>
    </initData>

    <initData>
        <uniqueID>MotorCycleFork</uniqueID>
        <data>
            <mass>0.15</mass>
	    <name>Fork</name>
            <visible>1</visible>
            <gmfFilename>resources/models/vehicles/motorcycle/MotorCycle_Fork.xml</gmfFilename>
            <snapToTerrain>0</snapToTerrain>
       	    <materialLookup>
          	<materialID>Steel</materialID>
          	<prim>PRIM_Box03</prim>
      	    </materialLookup>

            <joint>
               <name>FrontWheel</name>
               <jointClass>giHingeJoint</jointClass>
               <jointInitID>Hinge</jointInitID>

               <childClass>smCycleWheel</childClass>
               <childInitID>MotorCycleWheelFront</childInitID>
               <parentBone>wheel_front</parentBone>
               <childBone>wheel_front</childBone>
               <axis>
                  <x>1</x>
                  <y>0</y>
 	          <z>0</z>
              </axis>
            </joint>
        </data>
    </initData>

    <initData>
        <uniqueID>Weight</uniqueID>
        <data>
            <classType>giEntityPhysical</classType>
            <mass>1.0</mass>
	    <name>Weight</name>
            <visible>1</visible>
            <gmfFilename>resources/models/vehicles/motorcycle/weight.xml</gmfFilename>
            <gmfFilename2>resources/models/ball/ball.xml</gmfFilename2>
            <snapToTerrain>0</snapToTerrain>
            <materialLookup>
                <materialID>PassThrough</materialID>
                <prim>PRIM_Sphere</prim>
            </materialLookup>
        </data>
    </initData>

    <initData>
        <uniqueID>CycleWheelMaterial</uniqueID>
        <dataType>Material</dataType>
        <data>
            <classType>giMaterial</classType>
            <friction>50.0</friction>
        </data>
    </initData>
</root>