#VRML V2.0 utf8 #Prototype of an arrow PROTO ARROW [ exposedField SFVec3f translation 0 0 0 exposedField SFVec3f scale 1 1 1 exposedField SFRotation rotation 0 0 1 -1.571 field SFColor color 1 0 0 ] { EXTERNPROTO BEAD[ field SFColor color] "bead.wrl" Transform { translation IS translation scale IS scale rotation IS rotation children [ Transform { translation -.1 0 0 rotation 0 0 1 -1.571 children [ Shape { geometry Cylinder { radius 0.06 height 0.8 } appearance Appearance { material BEAD{ color IS color } } } ] } Transform { translation .3 0 0 rotation 0 0 1 -1.571 children [ Shape { geometry Cone { bottomRadius 0.2 height 0.4 } appearance Appearance { material BEAD{ color IS color } } } ] } ] } } ARROW {} ARROW {translation 2 0 0 rotation 1 0 0 1.571 color 0 1 0} ARROW {translation 4 0 0 rotation 0 1 0 -1.571 color 0 0 1} ARROW {translation 0 5 0 rotation 0 0 1 1.571 color 1 1 0 scale 5 1 1}