#VRML Draft #2 V2.0 utf8 Transform { children [ Shape { appearance Appearance { material Material { emissiveColor 0.4 0.0 1.0 } } geometry IndexedFaceSet { coord Coordinate { point [ 10 0 10, 10 0 -10, -10 0 -10, -10 0 10 ] } coordIndex [ 0, 1, 2, 3, -1 ] } } ] } Transform { translation 0 3 0 children [ DEF myscene Transform { children [ DEF toucher TouchSensor {}, DEF timer TimeSensor { cycleInterval 5 }, DEF mover PositionInterpolator { keys [0, 1] values [2 0 0, -2 0 0] }, Shape { appearance Appearance { material Material { diffuseColor 0.9 0.1 0.1 } } geometry Cone {} } ] } ] } ROUTE toucher.touchTime TO timer.startTime ROUTE timer.fraction TO mover.set_fraction ROUTE mover.value_changed TO myscene.set_translation