#VRML V2.0 utf8 WorldInfo { title "Dynamite Stick" info "By vr0307" } NavigationInfo { type "EXAMINE" } Background { skyColor 1 0.75 0 } PROTO dynamite_stick[ exposedField SFVec3f translation 0 0 0 exposedField SFVec3f scale 1 1 1 exposedField SFRotation rotation 0 0 0 0 ] { Transform { translation IS translation scale IS scale rotation IS rotation children [ # Stick Transform { translation 0 0 0 scale 1 1 1 rotation 0 0 0 0 children [ Shape { appearance Appearance { material Material { diffuseColor 1 0 0 } } geometry Cylinder { radius 0.5 height 6 } } ] } # Ends Transform { translation 0 3 0 scale 1 1 1 rotation 0 0 0 0 children [ DEF END Shape{ appearance Appearance { material Material { diffuseColor 0.87 0.72 .55 } } geometry Cylinder { radius 0.4 height 0.1 } } ] } Transform { translation 0 -3 0 scale 1 1 1 rotation 0 0 0 0 children [ USE END ] } # Fuse Transform { translation 0 3 0 scale 1 1 1 rotation 0 0 0 0 children [ Shape { appearance Appearance { material Material { } } geometry Cylinder { radius 0.01 height 1 } } ] } ] } } dynamite_stick { translation 0 0 0 scale 1 1 1 rotation 0 0 0 0 }