#VRML V2.0 utf8 Group { children [ DEF boule Transform { translation -4 0 0 children [ Shape { appearance Appearance { material Material { diffuseColor 1 0 0 } } geometry Sphere {} } ] } Transform { translation 4 0 0 children [ Shape { appearance Appearance { material Material { diffuseColor 0 0 1 } } geometry Box {} } DEF cube PlaneSensor { maxPosition .5 .5 minPosition -.5 -.5 } ] } ] } ROUTE cube.translation_changed TO boule.set_translation