<
head>
</
head>
<!--
-->
<
Scene>
<!--
_0 ROUTEs:
[
from SHARK2_POSITION.value_changed to set_translation
]
[
from SHARK2_ORIENTATION.value_changed to set_rotation
]
-->
<
Transform DEF='
_0'
translation='
0.0 -5.5 -1.0'>
<
Inline
url='
"
SharkLefty.wrl"
"
http://www.web3d.org/x3d/content/examples/Basic/KelpForestExhibit/SharkLefty.wrl"
"
SharkLefty.x3d"
"
http://www.web3d.org/x3d/content/examples/Basic/KelpForestExhibit/SharkLefty.x3d"
'/>
<
Group>
<!--
SHARK2_CLOCK ROUTEs:
[
from sharkSwimmingInTankTrigger_5.startTime to set_startTime
]
[
from fraction_changed to SHARK2_POSITION.set_fraction
]
[
from fraction_changed to SHARK2_ORIENTATION.set_fraction
]
-->
<
TimeSensor DEF='
SHARK2_CLOCK'
cycleInterval='
110.0'
loop='
true'/>
<!--
SHARK2_POSITION ROUTEs:
[
from SHARK2_CLOCK.fraction_changed to set_fraction
]
[
from value_changed to _0.set_translation
]
-->
<
PositionInterpolator DEF='
SHARK2_POSITION'
key='
0.0 0.152 0.194 0.224 0.288 0.35 0.427 0.549 0.632 0.7 0.813 1.0'
keyValue='
0.0 -4.25 -1.0, 3.75 -4.5 -0.75, 4.75 -4.5 -1.0, 4.75 -4.5 -2.0, 3.25 -4.0 -2.5, 1.75 -4.0 -2.75, 0.0 -4.0 -3.25, -3.0 -3.5 -4.0, -5.0 -4.0 -2.5, -5.75 -4.5 0.0, -4.5 -4.5 0.25, 0.0 -4.25 -1.0, '/>
<!--
SHARK2_ORIENTATION ROUTEs:
[
from SHARK2_CLOCK.fraction_changed to set_fraction
]
[
from value_changed to _0.set_rotation
]
-->
<
OrientationInterpolator DEF='
SHARK2_ORIENTATION'
key='
0.0 0.152 0.194 0.224 0.288 0.35 0.427 0.549 0.632 0.7 0.813 1.0'
keyValue='
0.0 1.0 0.0 6.2134, 0.0 1.0 0.0 0.244, 0.0 1.0 0.0 1.57, 0.1564 0.9974 -0.0262 2.8141, 0.0 1.0 0.0 2.967, 0.0 1.0 0.0 2.7227, 0.0872 0.9961 -0.0107 2.8982, -0.1218 0.9917 -0.0407 3.7824, -0.1469 0.9832 -0.1087 4.3995, 0.0 1.0 0.0 6.0912, 0.0 1.0 0.0 0.2618, 0.0 1.0 0.0 6.2134, '/>
</
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 SHARK2_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>
</