<
head>
</
head>
<!--
-->
<
Scene>
<!--
_0 ROUTEs:
[
from SHARK1_POSITION.value_changed to set_translation
]
[
from SHARK1_ORIENTATION.value_changed to set_rotation
]
-->
<
Transform DEF='
_0'
translation='
0.0 -8.0 -1.0'>
<
Inline
url='
"
SharkLucy.wrl"
"
http://www.web3d.org/x3d/content/examples/Basic/KelpForestExhibit/SharkLucy.wrl"
"
SharkLucy.x3d"
"
http://www.web3d.org/x3d/content/examples/Basic/KelpForestExhibit/SharkLucy.x3d"
'/>
<
Group>
<!--
SHARK1_CLOCK ROUTEs:
[
from sharkSwimmingInTankTrigger_5.startTime to set_startTime
]
[
from fraction_changed to SHARK1_POSITION.set_fraction
]
[
from fraction_changed to SHARK1_ORIENTATION.set_fraction
]
-->
<
TimeSensor DEF='
SHARK1_CLOCK'
cycleInterval='
220.0'
loop='
true'/>
<!--
SHARK1_POSITION ROUTEs:
[
from SHARK1_CLOCK.fraction_changed to set_fraction
]
[
from value_changed to _0.set_translation
]
-->
<
PositionInterpolator DEF='
SHARK1_POSITION'
key='
0.0 0.048 0.112 0.155 0.184 0.263 0.3 0.342 0.375 0.404 0.457 0.497 0.57 0.65 0.702 0.796 0.888 0.938 1.0'
keyValue='
0.0 -7.0 -1.0, -1.75 -7.0 -0.5, -4.0 -7.0 0.5, -5.0 -6.5 1.5, -5.5 -6.25 0.75, -5.25 -5.5 -2.25, -4.25 -5.0 -3.25, -2.75 -4.5 -3.75, -1.5 -4.5 -4.0, -0.5 -4.25 -4.5, 1.5 -3.75 -4.75, 3.0 -3.75 -4.5, 5.75 -4.5 -4.5, 8.75 -4.5 -4.0, 9.25 -4.5 -2.25, 7.5 -5.5 0.0, 4.0 -6.5 -0.25, 2.25 -7.0 -0.25, 0.0 -7.0 -1.0, '/>
<!--
SHARK1_ORIENTATION ROUTEs:
[
from SHARK1_CLOCK.fraction_changed to set_fraction
]
[
from value_changed to _0.set_rotation
]
-->
<
OrientationInterpolator DEF='
SHARK1_ORIENTATION'
key='
0.0 0.048 0.112 0.155 0.184 0.263 0.3 0.342 0.375 0.404 0.457 0.497 0.57 0.65 0.702 0.796 0.888 0.938 1.0'
keyValue='
0.0 1.0 0.0 3.4208, 0.0 1.0 0.0 3.5605, 0.1504 0.986 0.0717 4.0208, 0.1095 0.9918 -0.0658 2.0667, -0.1207 0.9836 0.134 1.4825, -0.1565 0.9125 0.3779 0.8522, -0.1099 0.7118 0.6937 0.4379, 0.0 1.0 0.0 0.192, -0.0956 0.8656 0.4916 0.4418, -0.0606 0.4959 0.8663 0.2802, 0.0 1.0 0.0 6.161, 0.0 0.0 -1.0 0.2618, 0.0 1.0 0.0 6.0388, 0.0 1.0 0.0 5.236, -0.1388 0.9878 -0.0707 4.0742, -0.1392 0.9903 0.0 3.1416, -0.1305 0.9911 0.0265 3.0, 0.0 1.0 0.0 2.827, 0.0 1.0 0.0 3.4208, '/>
</
Group>
</
Transform>
<!--
_4 ROUTEs:
[
from sharkSwimmingInTankTrigger_5.firstTime to set_enabled
]
[
from time to sharkSwimmingInTankTrigger_5.triggerIn
]
-->
<
TimeSensor DEF='
_4'
loop='
true'/>
<!--
sharkSwimmingInTankTrigger_5 ROUTEs:
[
from _4.time to triggerIn
]
[
from startTime to SHARK1_CLOCK.set_startTime
]
[
from firstTime to _4.set_enabled
]
-->
<
Script DEF='
sharkSwimmingInTankTrigger_5'>
<field name='triggerIn' type='SFTime' accessType='inputOnly'/>
<field name='startTime' type='SFTime' accessType='outputOnly'/>
<field name='firstTime' type='SFBool' accessType='outputOnly'/>
<![CDATA[
ecmascript:
function triggerIn (value, time)
{
startTime = value;
firstTime = FALSE;
}
]]>
</
Scene>
</