<?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='Immersiveversion='3.0xmlns:xsd='http://www.w3.org/2001/XMLSchema-instance' xsd:noNamespaceSchemaLocation=' http://www.web3d.org/specifications/x3d-3.0.xsd '>
<head>
<meta name='titlecontent='Example15.x3d'/>
<meta name='translatorcontent='Don Brutzman'/>
<meta name='createdcontent='26 June 2000'/>
<meta name='modifiedcontent='3 November 2002'/>
<meta name='descriptioncontent='VRML 97 specification example: Robot. Seek or zoom in towards the robot to start a simple animation sequence.'/>
<meta name='referencecontent='original/exampleD_15.wrl'/>
<meta name='referencecontent=' http://www.web3d.org/technicalinfo/specifications/vrml97/part1/examples.html#D.15 '/>
<meta name='identifiercontent=' http://www.web3d.org/x3d/content/examples/Basic/Vrml97Specification/Example15.x3d '/>
<meta name='generatorcontent='X3D-Edit 3.2, https://savage.nps.edu/X3D-Edit'/>
<meta name='licensecontent='../license.html'/>
</head>
<!--

Index for ExternProtoDeclare definitions: Shuttle, Pendulum
Index for DEF nodes: A, Arm, Near, WALK
Index for Viewpoint image: Viewpoint_1
-->
<Scene>
<ExternProtoDeclare name='Shuttle'
  url=' "Example14.wrl#Shuttle" "http://www.web3d.org/x3d/content/examples/Basic/Vrml97Specification/Example14.wrl#Shuttle" "Example14.x3d#Shuttle" "http://www.web3d.org/x3d/content/examples/Basic/Vrml97Specification/Example14.x3d#Shuttle" '>
<field name='ratetype='SFTimeaccessType='initializeOnly'/>
<field name='distancetype='SFFloataccessType='initializeOnly'/>
<field name='childrentype='MFNodeaccessType='initializeOnly'/>
<field name='startTimetype='SFTimeaccessType='inputOutput'/>
<field name='stopTimetype='SFTimeaccessType='inputOutput'/>
<field name='looptype='SFBoolaccessType='initializeOnly'/>
</ExternProtoDeclare>
<ExternProtoDeclare name='Pendulum'
  url=' "Example14.wrl#Pendulum" "Example14.wrl#Pendulum" '>
<field name='ratetype='SFTimeaccessType='initializeOnly'/>
<field name='maxAngletype='SFFloataccessType='initializeOnly'/>
<field name='childrentype='MFNodeaccessType='initializeOnly'/>
<field name='startTimetype='SFTimeaccessType='inputOutput'/>
<field name='stopTimetype='SFTimeaccessType='inputOutput'/>
<field name='looptype='SFBoolaccessType='initializeOnly'/>
</ExternProtoDeclare>
<NavigationInfo speed='20type='"WALK" "ANY"transitionType='"ANIMATE"'/>
<Viewpoint description='zoom inposition='0 0 150'/>
<!-- Near ROUTEs:  [from enterTime to WALK.startTime ] [from enterTime to Arm.startTime ] [from exitTime to WALK.stopTime ] [from exitTime to Arm.stopTime ] -->
<ProximitySensor DEF='Nearsize='200 200 200'/>
<!-- WALK ROUTEs:  [from Near.enterTime to startTime ] [from Near.exitTime to stopTime ] -->
<ProtoInstance name='ShuttleDEF='WALKcontainerField='children'>
<fieldValue name='stopTimevalue='1'/>
<fieldValue name='ratevalue='10'/>
<fieldValue name='distancevalue='20'/>
<fieldValue name='children'>
<Transform rotation='0 1 0 1.57'>
<Shape>
<Appearance DEF='A'>
<Material diffuseColor='0 0.5 0.7'/>
</Appearance>
<!-- head -->
<Box/>
</Shape>
<Transform scale='1 5 1translation='0 -5 0'>
<Shape>
<Appearance USE='A'/>
<!-- body -->
<Sphere/>
</Shape>
</Transform>
<Transform rotation='0 1 0 1.57translation='1.5 0 0'>
<!-- Arm ROUTEs:  [from Near.enterTime to startTime ] [from Near.exitTime to stopTime ] -->
<ProtoInstance name='PendulumDEF='ArmcontainerField='children'>
<fieldValue name='stopTimevalue='1'/>
<fieldValue name='ratevalue='1'/>
<fieldValue name='maxAnglevalue='0.52'/>
<fieldValue name='children'>
<Transform translation='0 -3 0'>
<Shape>
<Appearance USE='A'/>
<Cylinder height='4radius='0.5'/>
</Shape>
</Transform>
</fieldValue>
</ProtoInstance>
</Transform>
<Transform rotation='0 -1 0 1.57translation='-1.5 0 0'>
<ProtoInstance name='PendulumUSE='ArmcontainerField='children'/>
</Transform>
</Transform>
</fieldValue>
</ProtoInstance>
<ROUTE fromNode='NearfromField='enterTimetoNode='WALKtoField='startTime'/>
<ROUTE fromNode='NearfromField='enterTimetoNode='ArmtoField='startTime'/>
<ROUTE fromNode='NearfromField='exitTimetoNode='WALKtoField='stopTime'/>
<ROUTE fromNode='NearfromField='exitTimetoNode='ArmtoField='stopTime'/>
</Scene>
</X3D>
<!--

Index for ExternProtoDeclare definitions: Shuttle, Pendulum
Index for DEF nodes: A, Arm, Near, WALK
Index for Viewpoint image: Viewpoint_1
-->

<!-- Tag color codes: <Node DEF='idName' attribute='value'/> <Prototype name='ProtoName'> <field name='fieldName'/> </Prototype> -->