sphere function


        function sphere_touchTime(value,time) {
           newVRML =  'Group {';
           newVRML += '   children [';
           newVRML += '      DEF SENSOR PlaneSensor {';
           newVRML += '         maxPosition 0.45 0.45';
           newVRML += '         minPosition -0.45 -0.45';
           newVRML += '      }';
  
  
           newVRML += '      DEF OBJECT Transform {';
           newVRML += '         children [';
           newVRML += '            Shape {';
           newVRML += '               appearance Appearance {';
           newVRML += '                  material Material {';
           newVRML += '                     diffuseColor 0 1 0';
           newVRML += '                  }';
           newVRML += '               }';
  
  
           newVRML += '               geometry Sphere {';
           newVRML += '                  radius 0.05';
           newVRML += '               }';
           newVRML += '            }';
           newVRML += '         ]';
           newVRML += '      }';
           newVRML += '   ]';        
           newVRML += '}';
           newVRML += 'ROUTE SENSOR.translation_changed TO OBJECT.set_translation';
           newChildren = Browser.createVrmlFromString(newVRML);
        }