<div dir="auto">I’ve also found it helpful to introduce FINALE nodes in generated code. At least provide an option in generated code to choose between looping and non-looping animations.</div><div dir="auto"><br></div><div dir="auto">Good stuff!</div><div dir="auto"><br></div><div dir="auto">John</div><div><br><div class="gmail_quote"><div dir="ltr" class="gmail_attr">On Thu, Sep 7, 2023 at 12:03 AM Andreas Plesch <<a href="mailto:andreasplesch@gmail.com">andreasplesch@gmail.com</a>> wrote:<br></div><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">Another method apart from a ProximitySensor to start a timer without<br>
user interaction after scene loading is to use two TimeSensors. The<br>
first has loop=true and its only purpose is to trigger the second by<br>
routing its cycleTime to the startTime of the second TimeSensor. The<br>
first also stops itself by routing its cycleTime to its own stopTime.<br>
<br>
Here is an example modified from the cycleTime NIST example:<br>
<br>
<a href="https://rentry.co/x3d-startTimer" rel="noreferrer" target="_blank">https://rentry.co/x3d-startTimer</a><br>
<br>
<a href="https://andreasplesch.github.io/Library/Viewer/dev.html?url=https://gist.githubusercontent.com/andreasplesch/3f7ea30b9860b6399c797c51e3235459/raw/118d65438f9cfdc152c01fc5a24a8eccec705511/startTimer.x3d" rel="noreferrer" target="_blank">https://andreasplesch.github.io/Library/Viewer/dev.html?url=https://gist.githubusercontent.com/andreasplesch/3f7ea30b9860b6399c797c51e3235459/raw/118d65438f9cfdc152c01fc5a24a8eccec705511/startTimer.x3d</a><br>
<br>
-- <br>
Andreas Plesch<br>
Waltham, MA 02453<br>
<br>
_______________________________________________<br>
x3d-public mailing list<br>
<a href="mailto:x3d-public@web3d.org" target="_blank">x3d-public@web3d.org</a><br>
<a href="http://web3d.org/mailman/listinfo/x3d-public_web3d.org" rel="noreferrer" target="_blank">http://web3d.org/mailman/listinfo/x3d-public_web3d.org</a><br>
</blockquote></div></div>