Skip to content
Snippets Groups Projects
Commit 2e98ec64 authored by Brennenstuhl, Tobias FORNATL, GY's avatar Brennenstuhl, Tobias FORNATL, GY
Browse files

No commit message

No commit message
parent f7321b78
No related branches found
No related tags found
No related merge requests found
......@@ -28,6 +28,7 @@
<!-- Additional authoring resources for meta-tags: http://www.dublincore.org/documents/dcmi-terms http://www.dublincore.org/documents/dces http://www.w3.org/TR/html4/struct/global.html#h-7.4.4 http://vancouver-webpages.com/META http://vancouver-webpages.com/META/about-mk-metas2.html Additional authoring resources for language codes: http://www.rfc-editor.org/rfc/bcp/bcp47.txt http://www.loc.gov/standards/iso639-2/langhome.html http://www.iana.org/numbers.html#L -->
</head>
<Scene>
<!-- Authoring hint: these axes are aligned within local coordinate system -->
<Transform DEF='CoordinateAxesAdjustedScale' scale='4 4 4'>
<Inline DEF='CoordinateAxes' url='"../../X3dForWebAuthors/Chapter03Grouping/CoordinateAxes.x3d" "../../../Savage/Tools/Authoring/CoordinateAxes.x3d" "http://X3dGraphics.com/examples/X3dForWebAuthors/Chapter03Grouping/CoordinateAxes.x3d" "https://savage.nps.edu/Savage/Tools/Authoring/CoordinateAxes.x3d" "../../X3dForWebAuthors/Chapter03Grouping/CoordinateAxes.wrl" "../../../Savage/Tools/Authoring/CoordinateAxes.wrl" "http://X3dGraphics.com/examples/X3dForWebAuthors/Chapter03Grouping/CoordinateAxes.wrl" "https://savage.nps.edu/Savage/Tools/Authoring/CoordinateAxes.wrl"'/>
......@@ -107,6 +108,11 @@
</Shape>
</Transform>
<!-- Grouping the car for rotation -->
<TimeSensor DEF="CarTimeInterval" cycleInterval="12" loop = "true"/>
<OrientationInterpolator DEF='SpinCar' key='0 1 2' keyValue='0 1 0 0 0 1 0 3.14 0 1 0 6.28'/>
<ROUTE fromField='fraction_changed' fromNode='CarTimeInterval' toField='set_fraction' toNode='SpinCar'/>
<Transform DEF="CarRotation">
<ROUTE fromField='value_changed' fromNode='SpinCar' toField='rotation' toNode='CarRotation'/>
<Group DEF='Car'>
<Transform rotation='0 1 0 1.27'>
<Transform rotation='0 0 1 1.57' translation='-1 0.6 -2.1'>
......@@ -140,7 +146,7 @@
<Transform rotation='0 0 1 1.57' translation='1 0.6 2.1'>
<Group USE='Tire'/>
</Transform>
<!-- Boundary -->
<!-- Battery -->
<Transform translation='0 0.5 0'>
<Shape>
......@@ -154,6 +160,7 @@
</Transform>
</Transform>
</Group>
</Transform>
<!-- Boundary -->
<Transform translation='0 0.5 0'>
<Shape>
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment