shot

value

as: |appearance|firePower|

atributes

  • appearance [appearance]
  • firePower [Float:1f]
  • cadence [Float:0.15f] //sec
  • clip [String] path to sound file
  • minDistance [Float:10f] //meter
  • maxDistance [Float:50f] //meter
  • shotDuration [Float:0.05f] //sec
  • shotRadius [Float:0.001f] //meter

nodes

Examples

shot(appearance:shotMat, clip:"data/amy/sounds/shot.wav" )
shot(appearance:shotMat, firePower:1f, cadence:0.5f,
     clip:"data/soldier/sounds/shot.wav" )