#VRML V2.0 utf8

NavigationInfo {type "EXAMINE"
               headlight TRUE}

Group {
    children [
       DEF rotateCone SphereSensor {
       }
       DEF myCone Transform {
           children [
                Shape {
                   appearance Appearance {
                       material Material {
                           diffuseColor    1 0 1
                       } # material
                   } # appearance
                   geometry    Cone {
                       bottomRadius    1
                       height          2
                   } # Cone
               } #Shape
           ] # children
       } # Transform
    ] # children
} # Group

Shape {
    appearance Appearance {
       material Material {
           diffuseColor    1 1 1
           transparency    0.4
       } # material
    } # appearance
    geometry   Box {
       size 6 6 .001
    } # Box
} # Shape

ROUTE rotateCone.rotation_changed TO myCone.set_rotation

