<?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='OtoMelaraDeckGun.x3d'/>
<meta name='descriptioncontent='The well known gun firing'/>
<meta name='creatorcontent='Copyright [2001] By George Stavritis'/>
<meta name='createdcontent='28 February 2001'/>
<meta name='modifiedcontent='14 January 2014'/>
<meta name='identifiercontent=' https://savage.nps.edu/Savage/ShipsMilitary/Frigate-Greece/OtoMelaraDeckGun.x3d '/>
<meta name='generatorcontent='X3D-Edit 3.2, https://savage.nps.edu/X3D-Edit'/>
<meta name='licensecontent=' ../../license.html'/>
</head>
<!--

Index for DEF nodes : BOUNCINGBOXTRANSFORM, CLOCK, CUBEPATH
-->
<Scene>
<Transform>
<Shape>
<Cylinder height='1.5'/>
<Appearance>
<Material/>
</Appearance>
</Shape>
</Transform>
<Transform translation='0 0.7 0'>
<Shape>
<Sphere/>
<Appearance>
<Material/>
</Appearance>
</Shape>
</Transform>
<!-- ROUTE information for BOUNCINGBOXTRANSFORM node:  [from CUBEPATH.value_changed to set_translation ] -->
<Transform DEF='BOUNCINGBOXTRANSFORMrotation='0 0 1 1.8translation='10 1.75 2'>
<Shape>
<Cylinder height='4radius='0.1'/>
<Appearance>
<Material/>
</Appearance>
</Shape>
<!-- ROUTE information for CLOCK node:  [from fraction_changed to CUBEPATH.set_fraction ] -->
<TimeSensor DEF='CLOCKcycleInterval='0.7loop='true'/>
<!-- ROUTE information for CUBEPATH node:  [from CLOCK.fraction_changed to set_fraction ] [from value_changed to BOUNCINGBOXTRANSFORM.set_translation ] -->
<PositionInterpolator DEF='CUBEPATHkey='0.00 0.25 0.50 0.75 1.00keyValue='2.25 1.0 0.0 1.25 0.8 0.0 1.0 0.75 0.0 1.5 0.9 0.0 2.25 1.0 0.0'/>
</Transform>
<ROUTE fromNode='CLOCKfromField='fraction_changedtoNode='CUBEPATHtoField='set_fraction'/>
<ROUTE fromNode='CUBEPATHfromField='value_changedtoNode='BOUNCINGBOXTRANSFORMtoField='set_translation'/>
</Scene>
</X3D>
<!--

Index for DEF nodes : BOUNCINGBOXTRANSFORM, CLOCK, CUBEPATH
-->

<!-- 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)
-->

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