bounce


  
  PROTO bounce [
  exposedField SFFloat accel 0.1
  exposedField SFNode object NULL
  exposedField SFNode state NULL
  exposedField SFInt32 id 0
  
  exposedField SFVec3f translation 0 0 0
  exposedField SFVec3f scale 1 1 1
  exposedField SFRotation rotation 0 0 0 0
  ]{
  DEF GROUP Transform {
  translation IS translation
  scale IS scale
  rotation IS rotation
  children [
  Transform {
  translation 0 -10 0
  children [
  Shape {
           geometry Box { size 5 0.2 5 }
           appearance Appearance {
                  material DEF GROUND Material {
                          diffuseColor 1  0 0
                          }
                  }
  }
  ]}
  ]}