<?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='TerroristBoatPrototype.x3d' name='title'/>
    <meta content='James Harney' name='creator'/>
    <meta content='11 October 2001' name='created'/>
    <meta content='20 October 2019' name='modified'/>
    <meta content='Simple model of fiberglass skiff used by terrorists to attack the USS COLE in Aden Harbor, Yemen. Aligned down positive x axis as required for Savage vehicle models.' name='description'/>
    <meta content='TerroristBoatControlPanel.bat' name='reference'/>
    <meta content='https://www.web3d.org/x3d/content/examples/Savage/Scenarios/UssColeTerroristAttack/TerroristBoatControlPanel.java' name='reference'/>
    <meta content='https://www.web3d.org/x3d/content/examples/Savage/Scenarios/UssColeTerroristAttack/TerroristBoatActionInterpreter.java' name='reference'/>
    <meta content='http://www.foia.navy.mil/usscole/index.html' name='reference'/>
    <meta content='https://www.web3d.org/x3d/content/examples/Savage/Scenarios/UssColeTerroristAttack/TerroristBoatPrototype.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 title='TerroristBoatPrototype.x3d'/>
    <ProtoDeclare name='TerroristBoat'>
      <ProtoInterface>
        <field accessType='inputOnly' name='startExplosion' type='SFTime'/>
      </ProtoInterface>
      <ProtoBody>
        <Group>
          <Transform>
            <Viewpoint DEF='STBD' description='Terrorist Boat stbd View' jump='false' orientation='1 0 0 -0.2' position='5 10 35'/>
            <Viewpoint DEF='REAR' description='Terrorist Boat Rear View' jump='false' orientation='0 1 0 -1.57' position='-30 8 0'/>
            <Viewpoint description='Terrorist Boat Port View' jump='false' orientation='0 1 0 3.14' position='5 8 -30'/>
            <Viewpoint DEF='FRONT' description='Terrorist Boat Front View' jump='false' orientation='0 1 0 1.57' position='32 8 0'/>
          </Transform>
          <PositionInterpolator DEF='BoatPosit' key='0.325 0.9 1' keyValue='0 0 0 0 -15 0 0 -.5 0'/>
          <TimeSensor DEF='BoatPositClock' cycleInterval='3.6'>
            <IS>
              <connect nodeField='startTime' protoField='startExplosion'/>
            </IS>
          </TimeSensor>
          <TimeSensor DEF='DeadBoat' cycleInterval='5'/>
          <OrientationInterpolator DEF='DeadOrient' key='0.4 0.9 1' keyValue='1 0 0 0.00 1 0 0 3.14 1 0 0 3.14'/>
          <Transform DEF='BoatTransform'>
            <Transform>
              <Shape>
                <Extrusion creaseAngle='1.57' crossSection='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' orientation='0 1 0 0 0 1 0 0 0 0 1 -0.5' scale='1 1 1 1 1 .1' solid='false' spine='0 0 0 7.8842 0 0 10.7 0.25 0'/>
                <Appearance>
                  <Material diffuseColor='.9 .9 .9' shininess='.1'/>
                  <ImageTexture url='"BoatTexture.jpg" "../../Scenarios/UssColeTerroristAttack/BoatTexture.jpg" "https://www.web3d.org/x3d/content/examples/Savage/Scenarios/UssColeTerroristAttack/BoatTexture.jpg"'/>
                </Appearance>
              </Shape>
              <Shape>
                <Extrusion creaseAngle='1.57' crossSection='0.10 0.96 0.10 -0.96' scale='1 1 1 1 1 .1' solid='false' spine='.1 0 0 7.8842 0 0 10.6 0.25 0'/>
                <Appearance>
                  <Material diffuseColor='.4 0 0' emissiveColor='.4 0 0'/>
                </Appearance>
              </Shape>
            </Transform>
            <Transform translation='0 -.2 0'>
              <Shape>
                <IndexedFaceSet coordIndex='0 2 6 4 0 -1 1 3 7 5 1 -1 0 1 5 4 0 -1 2 3 7 6 2 -1 4 6 7 5 4 -1' solid='false'>
                  <Coordinate point='2 0 .5 3 0 .5 2 0 -.5 3 0 -.5 2 1 .5 3 1.5 .5 2 1 -.5 3 1.5 -.5'/>
                </IndexedFaceSet>
                <Appearance>
                  <Material diffuseColor='.8 .8 .8'/>
                </Appearance>
              </Shape>
            </Transform>
          </Transform>
          <ROUTE fromField='fraction_changed' fromNode='BoatPositClock' toField='set_fraction' toNode='BoatPosit'/>
          <ROUTE fromField='value_changed' fromNode='BoatPosit' toField='set_translation' toNode='BoatTransform'/>
          <ROUTE fromField='startTime' fromNode='BoatPositClock' toField='set_startTime' toNode='DeadBoat'/>
          <ROUTE fromField='fraction_changed' fromNode='DeadBoat' toField='set_fraction' toNode='DeadOrient'/>
          <ROUTE fromField='value_changed' fromNode='DeadOrient' toField='set_rotation' toNode='BoatTransform'/>
        </Group>
      </ProtoBody>
    </ProtoDeclare>
    <NavigationInfo speed='10' type='"EXAMINE" "FLY" "ANY"' visibilityLimit='7000'/>
    <Background groundAngle='1.309 1.570796' groundColor='0.1 0.1 0 0.4 0.25 0.2 0.6 0.6 0.6' skyAngle='1.309 1.571' skyColor='0 0.2 0.7 0 0.5 1 1 1 1'/>
    <ProtoInstance DEF='Boat' name='TerroristBoat'/>
    <Viewpoint description='Terrorist Boat View' jump='false' orientation='1 0 0 -0.2' position='0 10 35'/>
    <TouchSensor DEF='Touch' description='Flips boat over when touched.'/>
    <ROUTE fromField='touchTime' fromNode='Touch' toField='startExplosion' toNode='Boat'/>
  </Scene>
</X3D>