#VRML V2.0 utf8 NavigationInfo { type "EXAMINE" } Viewpoint { position 0 10 10 orientation 1 0 0 -.8 } EXTERNPROTO ScaredCritter [ field SFVec3f position field SFFloat speed field SFVec3f obstacle eventIn SFVec3f set_obstacle ] "scaredCritter.wrl" EXTERNPROTO TouchFloor [ field SFVec3f scale eventOut SFVec3f hitPoint_changed ] "touchFloor.wrl" DEF TOUCH TouchFloor { scale 5 1 5 } DEF CRITTER ScaredCritter {} ROUTE TOUCH.hitPoint_changed TO CRITTER.set_obstacle
mrl