muzzle flash doesn’t play when I shoot, on its own.

Forum Archive muzzle flash doesn’t play when I shoot, on its own.

Viewing 3 posts - 1 through 3 (of 3 total)
  • Author
    Posts
  • #6940
    Siarhei Kukresh
    Participant

      Dear CgCookie,

      Hi! For some reason my gun just shows the muzzle flash not when I fire, but while i’m in idle or playing the reloading animation.

      From Ivan.

      #26224
      Jonathan Gonzalez
      Participant

        Make sure the particle system of the muzzle flash is not set to “Play On Awake”. It’s a checkbox in the first section of the particle system. Either that, or after you first fire it stays on and you’re not turning it off again. 

        I might also suggest using a single image as a muzzle flash. Previously I used particle effects for it, but sometimes these appear on screen so quickly that it can cause issues getting them to play properly. A single image of a muzzle flash appearing on screen when you fire then disappearing afterward would be better. Just rotate/scale it randomly every time you fire. 

        #26225
        Dan Melton
        Participant

          Changing the Start Lifetime of the particle system worked for me. 

        Viewing 3 posts - 1 through 3 (of 3 total)
        • The topic ‘muzzle flash doesn’t play when I shoot, on its own.’ is closed to new replies.