<?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='title' content='OtoMelaraDeckGun.x3d'/>
<meta name='description' content='The well known gun firing'/>
<meta name='creator' content='Copyright [2001] By George Stavritis'/>
<meta name='created' content='28 February 2001'/>
<meta name='modified' content='14 January 2014'/>
<meta name='identifier' content=' https://savage.nps.edu/Savage/ShipsMilitary/Frigate-Greece/OtoMelaraDeckGun.x3d '/>
<meta name='generator' content='X3D-Edit 3.2, https://savage.nps.edu/X3D-Edit'/>
<meta name='license' content=' ../../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='BOUNCINGBOXTRANSFORM' rotation='0 0 1 1.8' translation='10 1.75 2'>
<Shape>
<Cylinder height='4' radius='0.1'/>
<Appearance>
<Material/>
</Appearance>
</Shape>
<!-- ROUTE information for CLOCK node:  [from fraction_changed to CUBEPATH.set_fraction ] -->
<TimeSensor DEF='CLOCK' cycleInterval='0.7' loop='true'/>
<!-- ROUTE information for CUBEPATH node:  [from CLOCK.fraction_changed to set_fraction ] [from value_changed to BOUNCINGBOXTRANSFORM.set_translation ] -->
<PositionInterpolator DEF='CUBEPATH' key='0.00 0.25 0.50 0.75 1.00' keyValue='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='CLOCK' fromField='fraction_changed' toNode='CUBEPATH' toField='set_fraction'/>
<ROUTE fromNode='CUBEPATH' fromField='value_changed' toNode='BOUNCINGBOXTRANSFORM' toField='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 -->