<?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='LaserTargetTrack.x3d' name='title'/>
    <meta content='A metal track that the laser target is mounted on.' name='description'/>
    <meta content='Brian Kibel' name='creator'/>
    <meta content='4 September 2006' name='created'/>
    <meta content='28 November 2019' name='modified'/>
    <meta content='https://www.web3d.org/x3d/content/examples/Savage/Space/SatelliteLab/LaserTargetTrack.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='LaserTargetTrack.x3d'/>
    <NavigationInfo/>
    <Group DEF='TrackRails'>
      <Transform translation='0 2.2 0'>
        <Shape DEF='RailShape'>
          <Box size='8.5 .15 .3'/>
          <Appearance>
            <Material diffuseColor='.8 .6 0'/>
          </Appearance>
        </Shape>
      </Transform>
      <Transform translation='0 2.325 0'>
        <Shape DEF='RailShape2'>
          <Box size='8.2 .1 .3'/>
          <Appearance>
            <Material diffuseColor='.8 .8 .8'/>
          </Appearance>
        </Shape>
      </Transform>
      <Transform scale='.8 2.5 .8' translation='0 2 0'>
        <Shape USE='RailShape'/>
      </Transform>
    </Group>
    <Group DEF='TrackSupport'>
      <Transform scale='.45 .45 .45' translation='-3.25 0 0'>
        <Inline DEF='TargetTrackSupport' url='"LaserTargetTrackSupport.x3d" "LaserTargetTrackSupport.wrl"'/>
      </Transform>
      <Transform scale='.45 .45 .45' translation='-2.1625 0 0'>
        <Inline USE='TargetTrackSupport'/>
      </Transform>
      <Transform scale='.45 .45 .45' translation='-1.085 0 0'>
        <Inline USE='TargetTrackSupport'/>
      </Transform>
      <Transform scale='.45 .45 .45'>
        <Inline USE='TargetTrackSupport'/>
      </Transform>
      <Transform scale='.45 .45 .45' translation='1.085 0 0'>
        <Inline USE='TargetTrackSupport'/>
      </Transform>
      <Transform scale='.45 .45 .45' translation='2.1625 0 0'>
        <Inline USE='TargetTrackSupport'/>
      </Transform>
      <Transform scale='.45 .45 .45' translation='3.25 0 0'>
        <Inline USE='TargetTrackSupport'/>
      </Transform>
    </Group>
    <Group DEF='MovingTarget'>
      <Transform DEF='TargetPosition'>
        <Transform DEF='TargetStartPosition' translation='0 3.3 .16'>
          <Shape>
            <IndexedFaceSet coordIndex='0 1 2 3 4' solid='false'>
              <Coordinate point='-.5 .5 0 .5 .5 0 .5 -.5 0 -.5 -.5 0 -.5 .5 0'/>
            </IndexedFaceSet>
          </Shape>
          <Transform scale='.1 .1 .1' translation='0 0 .005'>
            <Shape>
              <IndexedFaceSet coordIndex='0 1 2 3 4' solid='false'>
                <Coordinate point='-.5 .5 0 .5 .5 0 .5 -.5 0 -.5 -.5 0 -.5 .5 0'/>
              </IndexedFaceSet>
              <Appearance>
                <Material diffuseColor='0 0 0'/>
              </Appearance>
            </Shape>
          </Transform>
          <Transform translation='0 -.3 -.2'>
            <Shape>
              <Box size='.2 1.3 .3'/>
              <Appearance>
                <Material diffuseColor='.8 .8 .8'/>
              </Appearance>
            </Shape>
          </Transform>
        </Transform>
      </Transform>
      <PlaneSensor DEF='TargetPlaneSensor' description='Drag Target stays in X plane' maxPosition='4 0' minPosition='-4 0'/>
      <ROUTE fromField='translation_changed' fromNode='TargetPlaneSensor' toField='set_translation' toNode='TargetPosition'/>
    </Group>
  </Scene>
</X3D>