<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE X3D PUBLIC "ISO//Web3D//DTD X3D 3.0//EN" "https://www.web3d.org/specifications/x3d-3.0.dtd">
<X3D profile='Immersive' version='3.0' xmlns:xsd='http://www.w3.org/2001/XMLSchema-instance' xsd:noNamespaceSchemaLocation='https://www.web3d.org/specifications/x3d-3.0.xsd'>
  <head>
    <meta content='Bushmaster.x3d' name='title'/>
    <meta content='Boeing Bushmaster II 30mm AAAV gun' name='description'/>
    <meta content='William Geissler' name='creator'/>
    <meta content='21 January 2001' name='created'/>
    <meta content='20 October 2019' name='modified'/>
    <meta content='https://www.web3d.org/x3d/content/examples/Savage/AmphibiousVehicles/AAAV/Bushmaster.x3d' name='identifier'/>
    <meta content='X3D-Edit 3.2, https://www.web3d.org/x3d/tools/X3D-Edit' name='generator'/>
    <meta content='../../license.html' name='license'/>
  </head>
  <Scene>
    <WorldInfo info='"AAAV 30mm cannon"' title='Bushmaster II'/>
    <Transform DEF='Bushmaster' rotation='1 0 0 1.57'>
      <Transform DEF='Coaxial-Gun' translation='0.5 0.5 0.5'>
        <Transform translation='0.25 2 -1'>
          <Shape DEF='Coax-Barrel'>
            <Cylinder radius='0.1'/>
            <Appearance>
              <Material diffuseColor='0.15 0.25 0.05'/>
            </Appearance>
          </Shape>
        </Transform>
        <Transform scale='0.9 0.9 0.9' translation='0.25 3.18 -1'>
          <Group DEF='Coax-Flash-Suppressor'>
            <Shape>
              <Appearance>
                <Material diffuseColor='0.2 0.2 0.2'/>
              </Appearance>
              <Extrusion ccw='false' creaseAngle='0.785' crossSection='1.00 0.00 0.92 0.38 0.71 0.71 0.38 0.92 0.00 1.00 -0.38 0.92 -0.71 0.71 -0.92 0.38 -1.00 0.00 -0.92 -0.38 -0.71 -0.71 -0.38 -0.92 0.00 -1.00 0.38 -0.92 0.71 -0.71 0.92 -0.38 1.00 0.00 0.80 0.00 0.74 -0.31 0.57 -0.57 0.31 -0.74 0.00 -0.80 -0.31 -0.74 -0.57 -0.57 -0.74 -0.31 -0.80 0.00 -0.74 0.31 -0.57 0.57 -0.31 0.74 0.00 0.80 0.31 0.74 0.57 0.57 0.74 0.31 0.80 0.00' scale='.125 .125 .125 .125' spine='0.0 -0.2 0.0 0.0 0.2 0.0'/>
            </Shape>
            <Transform translation='0 -0.24 0'>
              <Shape>
                <Cylinder bottom='false' height='0.1' radius='0.07' side='false'/>
                <Appearance>
                  <Material diffuseColor='0 0 0'/>
                </Appearance>
              </Shape>
            </Transform>
          </Group>
        </Transform>
      </Transform>
      <Group DEF='Gun-System'>
        <Shape>
          <Box/>
          <Appearance>
            <ImageTexture url='"green1.jpg" "https://www.web3d.org/x3d/content/examples/Savage/AmphibiousVehicles/AAAV/green1.jpg"'/>
          </Appearance>
        </Shape>
        <Transform translation='0 2 0'>
          <Shape DEF='Mount'>
            <Cone bottom='false' bottomRadius='0.5' height='4'/>
            <Appearance>
              <Material diffuseColor='0.15 0.25 0.05'/>
            </Appearance>
          </Shape>
        </Transform>
        <Transform scale='1 6 1' translation='0 5.3 0'>
          <Shape DEF='GunBarrel'>
            <Cylinder bottom='false' height='1' radius='.1'/>
            <Appearance>
              <Material diffuseColor='0.15 0.25 0.05'/>
            </Appearance>
          </Shape>
        </Transform>
        <Transform translation='0 8.5 0'>
          <Group DEF='FlashSuppressor'>
            <Shape>
              <Appearance>
                <Material diffuseColor='0.2 0.2 0.2'/>
              </Appearance>
              <Extrusion ccw='false' creaseAngle='0.785' crossSection='1.00 0.00 0.92 0.38 0.71 0.71 0.38 0.92 0.00 1.00 -0.38 0.92 -0.71 0.71 -0.92 0.38 -1.00 0.00 -0.92 -0.38 -0.71 -0.71 -0.38 -0.92 0.00 -1.00 0.38 -0.92 0.71 -0.71 0.92 -0.38 1.00 0.00 0.80 0.00 0.74 -0.31 0.57 -0.57 0.31 -0.74 0.00 -0.80 -0.31 -0.74 -0.57 -0.57 -0.74 -0.31 -0.80 0.00 -0.74 0.31 -0.57 0.57 -0.31 0.74 0.00 0.80 0.31 0.74 0.57 0.57 0.74 0.31 0.80 0.00' scale='.125 .125 .125 .125' spine='0.0 -0.2 0.0 0.0 0.2 0.0'/>
            </Shape>
            <Transform translation='0 -0.24 0'>
              <Shape>
                <Cylinder bottom='false' height='0.1' radius='0.07' side='false'/>
                <Appearance>
                  <Material diffuseColor='0 0 0'/>
                </Appearance>
              </Shape>
            </Transform>
          </Group>
        </Transform>
      </Group>
      <Sound location='0 0 8.5' maxBack='100' maxFront='100' minBack='0' minFront='0'>
        <AudioClip DEF='Source' description='rapid fire' url='"tone1.wav" "https://www.web3d.org/x3d/content/examples/Savage/AmphibiousVehicles/AAAV/tone1.wav"'/>
      </Sound>
      <TouchSensor DEF='FireSensor' description='click to fire'/>
      <TimeSensor DEF='CLOCK'/>
    </Transform>
    <Transform DEF='PROJECTILE' rotation='1 0 0 1.57' scale='.1 .1 .1'>
      <Inline url='"HotLead.x3d" "https://www.web3d.org/x3d/content/examples/Savage/AmphibiousVehicles/AAAV/HotLead.x3d" "HotLead.wrl" "https://www.web3d.org/x3d/content/examples/Savage/AmphibiousVehicles/AAAV/HotLead.wrl"'/>
      <PositionInterpolator DEF='PROJECTILEPATH' key='0.00 0.00 0.02 0.04 0.06 0.08 0.10 0.12 0.14 0.16 0.18 0.18 0.20 0.20 0.22 0.24 0.26 0.28 0.30 0.32 0.34 0.36 0.38 0.38 0.40 0.40 0.42 0.44 0.46 0.48 0.50 0.52 0.54 0.56 0.58 0.58 0.60 0.60 0.62 0.64 0.66 0.68 0.70 0.72 0.74 0.76 0.78 0.78 0.80 0.80 0.82 0.84 0.86 0.88 0.90 0.92 0.94 0.96 0.98 0.98' keyValue='0.0 0.0 0.0 0.0 0.0 9.0 0.0 0.0 24.0 0.0 0.0 36.0 0.0 0.0 48.0 0.0 0.0 60.0 0.0 0.0 72.0 0.0 0.0 84.0 0.0 0.0 96.0 0.0 0.0 108.0 0.0 0.0 120.0 0.0 0.0 0.0 0.0 0.0 0.0 0.0 0.0 9.0 0.0 0.0 24.0 0.0 0.0 36.0 0.0 0.0 48.0 0.0 0.0 60.0 0.0 0.0 72.0 0.0 0.0 84.0 0.0 0.0 96.0 0.0 0.0 108.0 0.0 0.0 120.0 0.0 0.0 0.0 0.0 0.0 0.0 0.0 0.0 9.0 0.0 0.0 24.0 0.0 0.0 36.0 0.0 0.0 48.0 0.0 0.0 60.0 0.0 0.0 72.0 0.0 0.0 84.0 0.0 0.0 96.0 0.0 0.0 108.0 0.0 0.0 120.0 0.0 0.0 0.0 0.0 0.0 0.0 0.0 0.0 9.0 0.0 0.0 24.0 0.0 0.0 36.0 0.0 0.0 48.0 0.0 0.0 60.0 0.0 0.0 72.0 0.0 0.0 84.0 0.0 0.0 96.0 0.0 0.0 108.0 0.0 0.0 120.0 0.0 0.0 0.0 0.0 0.0 0.0 0.0 0.0 9.0 0.0 0.0 24.0 0.0 0.0 36.0 0.0 0.0 48.0 0.0 0.0 60.0 0.0 0.0 72.0 0.0 0.0 84.0 0.0 0.0 96.0 0.0 0.0 108.0 0.0 0.0 120.0 0.0 0.0 0.0'/>
    </Transform>
    <ROUTE fromField='touchTime' fromNode='FireSensor' toField='set_startTime' toNode='CLOCK'/>
    <ROUTE fromField='fraction_changed' fromNode='CLOCK' toField='set_fraction' toNode='PROJECTILEPATH'/>
    <ROUTE fromField='value_changed' fromNode='PROJECTILEPATH' toField='set_translation' toNode='PROJECTILE'/>
    <ROUTE fromField='touchTime' fromNode='FireSensor' toField='set_startTime' toNode='Source'/>
  </Scene>
</X3D>