#VRML V2.0 utf8 WorldInfo { title "Rifle Trigger" info "By vr0307" } NavigationInfo { type "EXAMINE" } Background { skyColor 1 0.75 0 } PROTO revolver_trigger [ 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 [ Transform { rotation 1 0 0 1.57 children [ Shape { appearance DEF IRON Appearance { material Material { diffuseColor .24 .24 .24 specularColor .3 .25 .3 ambientIntensity .06 shininess .05 } } geometry Cylinder { height 1 radius .5 } } ] } Transform { translation 0 -1.4 0 rotation 0 0 0 0 children [ Shape { appearance USE IRON geometry Extrusion { spine [ .419231 -1 0, .0730769 -.676923 0, -.1 .130769 0, .0730769 .776923 0, .246154 1.1 0 ] scale [ .1 .1, .6 .3, .9 .6, 1 .8, 1 1 ] crossSection [ .1 .4, .1 -.4, 0 -.5, -.1 0, 0 .5, .1 .4 ] } } ] } ] } } revolver_trigger { }