<?xml version="1.0" encoding="iso-8859-1"?>

<i3D name="wheelieGrab" version="1.6" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:noNamespaceSchemaLocation="http://i3d.giants.ch/schema/i3d-1.6.xsd">

  <Files>
    <File fileId="3" filename="$data/shaders/vehicleShader.xml" />
    <File fileId="6" filename="$data/shared/assets/assetLibraryDecals_diffuse.png" />
    <File fileId="7" filename="$data/shared/assets/assetLibraryDecals_normal.png" />
    <File fileId="8" filename="$data/shared/default_normal.png" />
    <File fileId="11" filename="$data/vehicles/mcCormack/mcCormackDecal_diffuse.png" />
    <File fileId="4" filename="$data/vehicles/mcCormack/wheelieGrab/wheelieGrabAlpha_diffuse.png" />
    <File fileId="5" filename="$data/vehicles/mcCormack/wheelieGrab/wheelieGrabAlpha_normal.png" />
    <File fileId="10" filename="$data/vehicles/mcCormack/wheelieGrab/wheelieGrabDecal_diffuse.png" />
    <File fileId="9" filename="$data/vehicles/mcCormack/wheelieGrab/wheelieGrabHoses_vmask.png" />
    <File fileId="1" filename="$data/vehicles/mcCormack/wheelieGrab/wheelieGrab_normal.png" />
    <File fileId="2" filename="$data/vehicles/mcCormack/wheelieGrab/wheelieGrab_vmask.png" />
  </Files>

  <Materials>
    <Material name="lambert1" materialId="1" diffuseColor="0.5 0.5 0.5 1">
    </Material>
    <Material name="wheelieGrab_mat" materialId="2" diffuseColor="0.5 0.5 0.5 1" customShaderId="3" customShaderVariation="colorMask">
      <Normalmap fileId="1"/>
      <Glossmap fileId="2"/>
    </Material>
    <Material name="wheelieGrabAlpha_mat" materialId="4" customShaderId="3" customShaderVariation="secondUV_colorMask">
      <Texture fileId="4"/>
      <Normalmap fileId="5"/>
      <Glossmap fileId="2"/>
    </Material>
    <Material name="assetLibraryDecals_mat" materialId="7" customShaderId="3" customShaderVariation="Decal_colorMask">
      <Texture fileId="6"/>
      <Normalmap fileId="7"/>
      <Glossmap fileId="2"/>
    </Material>
    <Material name="wheelieGrabHoses_vmask_mat" materialId="3" diffuseColor="0.5 0.5 0.5 1" customShaderId="3" customShaderVariation="colorMask">
      <CustomParameter name="colorMat0" value="0.0179 0.0179 0.0179 5"/>
      <Normalmap fileId="8"/>
      <Glossmap fileId="9"/>
    </Material>
    <Material name="wheelieGrabDecal_mat" materialId="6" customShaderId="3" customShaderVariation="Decal">
      <Texture fileId="10"/>
      <Normalmap fileId="8"/>
      <Glossmap fileId="2"/>
    </Material>
    <Material name="mcCormackDecal_mat" materialId="5" customShaderId="3" customShaderVariation="Decal">
      <Texture fileId="11"/>
      <Normalmap fileId="8"/>
      <Glossmap fileId="2"/>
    </Material>
  </Materials>


  <Shapes externalShapesFile="wheelieGrab.i3d.shapes">
  </Shapes>

  <Scene>
    <Shape name="wheelieGrab_main_component1" shapeId="1" dynamic="true" compound="true" collisionMask="2109442" castsShadows="true" receiveShadows="true" nonRenderable="true" materialIds="1" clipDistance="300" nodeId="1">
      <Shape name="wheelieGrab_vis" shapeId="2" castsShadows="true" receiveShadows="true" materialIds="2" skinBindNodeIds="2 17 26 27" clipDistance="300" nodeId="2">
        <TransformGroup name="attachable" nodeId="3">
          <TransformGroup name="attacherJoint" translation="7.88879e-05 0.295276 -0.25" rotation="0 -90 0" nodeId="4"/>
          <TransformGroup name="topReferenceNode" translation="-0.0171116 0.983693 -0.249801" rotation="0 180 0" nodeId="5"/>
          <TransformGroup name="connectionHoses" nodeId="6">
            <TransformGroup name="hydraulicIn01" translation="-0.0747195 1.15942 -0.104035" rotation="-178.568 -55.5785 178.914" scale="1 1 1" nodeId="7">
              <Shape name="hydraulicIn01_detached" translation="-3.55271e-17 1.39932e-16 2.70685e-17" shapeId="3" castsShadows="true" receiveShadows="true" materialIds="3" clipDistance="300" nodeId="8">
                <TransformGroup name="hydraulicIn01_connector" translation="0.0486084 -0.158987 0.188557" rotation="90.2923 12.2361 0.646094" scale="1 1 1" nodeId="9"/>
              </Shape>
            </TransformGroup>
            <TransformGroup name="hydraulicOut01" translation="-0.0617968 1.1596 -0.14437" rotation="0 215.358 0" scale="1 1 1" nodeId="10">
              <Shape name="hydraulicOut01_detached" shapeId="4" castsShadows="true" receiveShadows="true" materialIds="3" clipDistance="300" nodeId="11">
                <TransformGroup name="hydraulicOut01_connector" translation="0.060533 -0.197562 0.129329" rotation="-88.3932 222.503 -180.245" nodeId="12"/>
              </Shape>
            </TransformGroup>
          </TransformGroup>
        </TransformGroup>
        <TransformGroup name="componentJointRot" translation="7.88116e-05 2.60007 1.27777" rotation="-180 0 -90" nodeId="13">
          <TransformGroup name="componentJoint" nodeId="14"/>
        </TransformGroup>
        <TransformGroup name="movingParts" nodeId="15">
          <TransformGroup name="armRot" translation="7.88116e-05 2.60007 1.27777" rotation="89.8158 0.00029262 0" scale="1 1 1" nodeId="16">
            <TransformGroup name="arm" translation="0 5.68434e-16 5.68434e-16" scale="1 1 1" collision="false" clipDistance="300" nodeId="17">
              <Shape name="alpha_main" translation="-7.22858e-05 -1.28612 2.59594" shapeId="5" castsShadows="true" receiveShadows="true" materialIds="4" clipDistance="120" nodeId="18"/>
              <Shape name="decal" translation="-7.22858e-05 -1.28612 2.59594" shapeId="6" castsShadows="true" receiveShadows="true" decalLayer="1" materialIds="5" clipDistance="50" nodeId="19"/>
              <TransformGroup name="armHydraulicRef" translation="-1.85509e-07 0.0446819 -0.276542" rotation="-73.4536 -4.85314e-20 0.000292619" scale="1 1 1" nodeId="20"/>
              <TransformGroup name="wheel01Vis" translation="0.846565 4.34914e-06 2.32295" rotation="89.8158 180 0.000292619" scale="1 1 1" nodeId="21"/>
              <TransformGroup name="wheel02Vis" translation="0.394582 2.06032e-06 2.32295" rotation="89.8158 180 0.000292619" scale="1 1 1" nodeId="22"/>
              <TransformGroup name="wheel03Vis" translation="-0.847 4.34914e-06 2.32295" rotation="89.8158 180 0.000292619" scale="1 1 1" nodeId="23"/>
              <TransformGroup name="wheel04Vis" translation="-0.395 2.06032e-06 2.32295" rotation="89.8158 180 0.000292619" scale="1 1 1" nodeId="24"/>
              <TransformGroup name="armJoint" translation="-7.96874e-05 0.172469 -0.307574" rotation="-89.8158 -0 0.000292619" nodeId="25"/>
            </TransformGroup>
          </TransformGroup>
          <TransformGroup name="armHydraulic" translation="7.88498e-05 2.29052 0.38359" rotation="-32.0054 0 0" collision="false" clipDistance="300" nodeId="26">
            <TransformGroup name="armHydraulicPunch" translation="7.29488e-21 2.57927e-14 1.1061" collision="false" clipDistance="300" nodeId="27"/>
            <Shape name="decal" translation="-7.88498e-05 -1.73905 -1.53926" shapeId="7" castsShadows="true" receiveShadows="true" decalLayer="1" materialIds="6" clipDistance="50" nodeId="28"/>
            <TransformGroup name="armHydraulicJoint" translation="-7.88498e-05 0.22914 0.290655" rotation="32.0054 -0 0" nodeId="29"/>
          </TransformGroup>
        </TransformGroup>
        <Shape name="dynamicMountTrigger" translation="-7.21919e-17 0.498741 0.589492" visibility="false" shapeId="8" kinematic="true" compound="true" trigger="true" collisionMask="16777216" castsShadows="true" receiveShadows="true" nonRenderable="true" materialIds="1" nodeId="30"/>
        <TransformGroup name="visuals" nodeId="31">
          <Shape name="decal" shapeId="9" castsShadows="true" receiveShadows="true" decalLayer="1" materialIds="6" clipDistance="50" nodeId="32"/>
          <Shape name="screws_decal" shapeId="10" castsShadows="true" receiveShadows="true" decalLayer="1" materialIds="7" clipDistance="30" nodeId="33"/>
        </TransformGroup>
        <TransformGroup name="rootJoint" translation="0 1.54744 0" nodeId="34"/>
      </Shape>
      <TransformGroup name="skinnedMesh" nodeId="35">
        <Shape name="hoses" shapeId="11" castsShadows="true" receiveShadows="true" materialIds="3" skinBindNodeIds="34 29 25" clipDistance="300" nodeId="36"/>
      </TransformGroup>
      <TransformGroup name="collisions" nodeId="37">
        <Shape name="colPart04" translation="-7.45194e-17 0.698394 0.0351973" shapeId="12" compoundChild="true" density="0.001" collisionMask="2109442" castsShadows="true" receiveShadows="true" nonRenderable="true" materialIds="1" nodeId="38"/>
        <Shape name="colPart05" translation="-7.45194e-17 0.447032 0.0977947" shapeId="13" compoundChild="true" density="0.001" collisionMask="2109442" castsShadows="true" receiveShadows="true" nonRenderable="true" materialIds="1" nodeId="39"/>
        <Shape name="colPart06" translation="-7.45194e-17 0.18507 0.294977" shapeId="14" compoundChild="true" density="0.001" collisionMask="2109442" castsShadows="true" receiveShadows="true" nonRenderable="true" materialIds="1" nodeId="40"/>
        <Shape name="colPart07" translation="-7.45194e-17 0.0493399 0.581842" shapeId="15" compoundChild="true" density="0.001" collisionMask="2109442" castsShadows="true" receiveShadows="true" nonRenderable="true" materialIds="1" nodeId="41"/>
        <Shape name="colPart08" translation="0 0.011721 0.928008" shapeId="16" compoundChild="true" density="0.001" collisionMask="2109442" castsShadows="true" receiveShadows="true" nonRenderable="true" materialIds="1" nodeId="42"/>
        <Shape name="colPart09" translation="0 2.22536 0.624984" rotation="59.8814 0 0" shapeId="17" compoundChild="true" density="0.001" collisionMask="2109442" castsShadows="true" receiveShadows="true" nonRenderable="true" materialIds="1" nodeId="43"/>
        <Shape name="supportCol" translation="0 0.108049 0.372915" shapeId="18" compoundChild="true" density="0.001" collisionMask="2109442" castsShadows="true" receiveShadows="true" nonRenderable="true" materialIds="1" nodeId="44"/>
      </TransformGroup>
    </Shape>
    <Shape name="wheelieGrab_grab_component2" translation="-7.88116e-05 2.60007 1.278" rotation="180 0 -90" shapeId="19" dynamic="true" compound="true" collisionMask="2109442" castsShadows="true" receiveShadows="true" nonRenderable="true" materialIds="1" clipDistance="300" nodeId="45">
      <TransformGroup name="armRef" translation="2.32294 -7.13776e-09 -0.00746929" rotation="-67.0915 -0.00210037 -90.0009" scale="1 1 1" nodeId="46"/>
      <TransformGroup name="wheels" nodeId="47">
        <TransformGroup name="wheel01" translation="2.32294 -0.846565 -0.00746932" rotation="0 0 90" scale="1 1 1" nodeId="48"/>
        <TransformGroup name="wheel02" translation="2.32294 -0.394582 -0.00746934" rotation="0 0 90" scale="1 1 1" nodeId="49"/>
        <TransformGroup name="wheel03" translation="2.32294 0.847 -0.00746932" rotation="0 0 90" scale="1 1 1" nodeId="50"/>
        <TransformGroup name="wheel04" translation="2.32294 0.395 -0.00746934" rotation="0 0 90" scale="1 1 1" nodeId="51"/>
      </TransformGroup>
      <TransformGroup name="collisions" nodeId="52">
        <Shape name="colPart01" translation="1.84554 7.88363e-05 -0.292636" rotation="-27.6899 0 90" scale="1 1 1" shapeId="20" compoundChild="true" density="0.001" collisionMask="2109442" castsShadows="true" receiveShadows="true" nonRenderable="true" materialIds="1" nodeId="53"/>
        <Shape name="colPart02" translation="1.84554 7.88363e-05 -0.292636" rotation="-27.6899 0 90" scale="1 1 1" shapeId="21" compoundChild="true" density="0.001" collisionMask="2109442" castsShadows="true" receiveShadows="true" nonRenderable="true" materialIds="1" nodeId="54"/>
        <Shape name="colPart03" translation="2.28371 7.88427e-05 -0.00746932" rotation="0 90 0" shapeId="22" compoundChild="true" density="0.001" collisionMask="2109442" castsShadows="true" receiveShadows="true" nonRenderable="true" materialIds="1" nodeId="55"/>
      </TransformGroup>
    </Shape>
  </Scene>

  <UserAttributes>
    <UserAttribute nodeId="25">
      <Attribute name="liw" type="boolean" value="false"/>
    </UserAttribute>
    <UserAttribute nodeId="29">
      <Attribute name="liw" type="boolean" value="true"/>
    </UserAttribute>
    <UserAttribute nodeId="34">
      <Attribute name="liw" type="boolean" value="false"/>
    </UserAttribute>
  </UserAttributes>
</i3D>
