<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE X3D PUBLIC "ISO//Web3D//DTD X3D 3.0//EN" "http://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 =' http://www.web3d.org/specifications/x3d-3.0.xsd '>
<head>
<meta name='titlecontent='UtilityBoatPrototype.x3d'/>
<meta name='creatorcontent='James Harney'/>
<meta name='createdcontent='13 December 2001'/>
<meta name='modifiedcontent='19 March 2012'/>
<meta name='descriptioncontent='Simple model of utility boat in vicinity of the USS COLE in Aden Harbor, Yemen in October 2000. Aligned down positive x axis as required for Savage vehicle models.'/>
<meta name='referencecontent=' https://savage.nps.edu/Savage/Scenarios/UssColeTerroristAttack/TerroristBoatControlPanel.java '/>
<meta name='referencecontent=' https://savage.nps.edu/Savage/Scenarios/UssColeTerroristAttack/TerroristBoatActionInterpreter.java '/>
<meta name='referencecontent=' http://www.foia.navy.mil/usscole/index.html '/>
<meta name='identifiercontent=' https://savage.nps.edu/Savage/Scenarios/UssColeTerroristAttack/UtilityBoatPrototype.x3d '/>
<meta name='licensecontent=' ../../license.html'/>
</head>
<!--

Index for ProtoDeclare definition : UtilityBoat

Index for DEF nodes : Boat, BoatPosit, BoatPositClock, BoatTransform, DeadBoat, DeadOrient, REAR, STBD, TEXTURE, Touch

Index for Viewpoint images : Viewpoint_1, REAR, STBD
-->
<Scene>
<ProtoDeclare name='UtilityBoat'>
<ProtoInterface>
<field name='startExplosiontype='SFTimeaccessType='inputOnly'/>
</ProtoInterface>
<ProtoBody>
<Group>
<Transform>
<Viewpoint DEF='STBDdescription='Utility Boat stbd Viewjump='falseorientation='1 0 0 -0.2position='5 10 35'/>
<Viewpoint DEF='REARdescription='Utility Boat Rear Viewjump='falseorientation='0 1 0 -1.57position='-30 8 0'/>
</Transform>
<!-- ROUTE information for BoatPosit node:  [from BoatPositClock.fraction_changed to set_fraction ] [from value_changed to BoatTransform.set_translation ] -->
<PositionInterpolator DEF='BoatPositkey='0.325 0.9 1keyValue='0 0 0 0 -15 0 0 -.5 0'/>
<!-- ROUTE information for BoatPositClock node:  [from fraction_changed to BoatPosit.set_fraction ] [from startTime to DeadBoat.set_startTime ] -->
<TimeSensor DEF='BoatPositClockcycleInterval='3.6'>
<IS>
<connect nodeField='startTimeprotoField='startExplosion'/>
</IS>
</TimeSensor>
<!-- ROUTE information for DeadBoat node:  [from BoatPositClock.startTime to set_startTime ] [from fraction_changed to DeadOrient.set_fraction ] -->
<TimeSensor DEF='DeadBoatcycleInterval='5'/>
<!-- ROUTE information for DeadOrient node:  [from DeadBoat.fraction_changed to set_fraction ] [from value_changed to BoatTransform.set_rotation ] -->
<OrientationInterpolator DEF='DeadOrientkey='0.4 0.9 1keyValue='1 0 0 0.00 1 0 0 3.14 1 0 0 3.14'/>
<!-- ROUTE information for BoatTransform node:  [from BoatPosit.value_changed to set_translation ] [from DeadOrient.value_changed to set_rotation ] -->
<Transform DEF='BoatTransform'>
<Transform scale='1.2 1.2 1.2'>
<Shape>
<Extrusion beginCap='falsecreaseAngle='1.57crossSection='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.00orientation='0 1 0 0 0 1 0 0 0 0 1 -0.5scale='1 1 1 1 1 .1solid='falsespine='0 0 0 7.8842 0 0 10.7 0.25 0'/>
<Appearance> </Appearance>
</Shape>
<Shape>
<Extrusion creaseAngle='1.57crossSection='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.00scale='1 1 1 1solid='falsespine='0 0 0 .1 0 0'/>
<Appearance> </Appearance>
</Shape>
<Shape>
<Extrusion creaseAngle='1.57crossSection='0.10 0.96 0.10 -0.96scale='1 1 1 1 1 .1solid='falsespine='.1 0 0 7.8842 0 0 10.6 0.25 0'/>
<Appearance>
<Material diffuseColor='.5 .5 .5'/>
</Appearance>
</Shape>
</Transform>
<Transform translation='0 -.2 0'>
<Shape>
<IndexedFaceSet solid='falsecoordIndex='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'>
<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='.5 .5 .5'/>
</Appearance>
</Shape>
</Transform>
</Transform>
<ROUTE fromNode='BoatPositClockfromField='fraction_changedtoNode='BoatPosittoField='set_fraction'/>
<ROUTE fromNode='BoatPositfromField='value_changedtoNode='BoatTransformtoField='set_translation'/>
<ROUTE fromNode='BoatPositClockfromField='startTimetoNode='DeadBoattoField='set_startTime'/>
<ROUTE fromNode='DeadBoatfromField='fraction_changedtoNode='DeadOrienttoField='set_fraction'/>
<ROUTE fromNode='DeadOrientfromField='value_changedtoNode='BoatTransformtoField='set_rotation'/>
</Group>
</ProtoBody>
</ProtoDeclare>
<NavigationInfo speed='10type='"EXAMINE" "FLY" "ANY"visibilityLimit='7000'/>
<Background groundAngle='1.309 1.570796groundColor='0.1 0.1 0 0.4 0.25 0.2 0.6 0.6 0.6skyAngle='1.309 1.571skyColor='0 0.2 0.7 0 0.5 1 1 1 1'/>
<!-- ROUTE information for Boat node:  [from Touch.touchTime to startExplosion ] -->
<ProtoInstance name='UtilityBoatDEF='Boat'/>
<Viewpoint description='Utility Boat Viewjump='falseorientation='1 0 0 -0.2position='0 10 35'/>
<!-- ROUTE information for Touch node:  [from touchTime to Boat.startExplosion ] -->
<TouchSensor DEF='Touch'/>
<ROUTE fromNode='TouchfromField='touchTimetoNode='BoattoField='startExplosion'/>
</Scene>
</X3D>
<!--

Index for ProtoDeclare definition : UtilityBoat

Index for DEF nodes : Boat, BoatPosit, BoatPositClock, BoatTransform, DeadBoat, DeadOrient, REAR, STBD, TEXTURE, Touch

Index for Viewpoint images : Viewpoint_1, REAR, STBD
-->

<!-- Color key: <X3dNode DEF='idName' field='value'/> matches <XmlElement DEF='idName' attribute='value'/>
(Light blue background: behavior node) (Grey background: inserted documentation) (Magenta background: X3D Extensibility)
    <Prototype name='ProtoName'> <field name='fieldName'/> </Prototype> -->

<!-- Additional help information about X3D scenes: X3D Resources, X3D Scene Authoring Hints and X3D Tooltips -->