Search Unity

ETeeskiTutorials FPS 1.18 Muzzle Flash Problem

Discussion in 'Scripting' started by TKBaha, Sep 11, 2013.

  1. TKBaha

    TKBaha

    Joined:
    Sep 2, 2013
    Posts:
    3
    Hello, I have a problem with the Muzzle Flash.

    My Muzzle Flash is too far on the right (not in the right position) and when I try to move it, it doesnt change the position in-game. I already tried pulling the prefab into the game and changing it there, still nothing. I hope someone can help. Thanks in advance.
     
  2. surreal4224

    surreal4224

    Joined:
    Apr 10, 2011
    Posts:
    51
    try:
    >> In the inspector make sure that the muzzle flash object is a child of your weapon
    >> reset position of your muzzle flash by clicking on gear icon on top right corner of its tranform component and click reset
    >> adjust the flash position in the transform inspector
    >> make sure you are not in game mode when moving the muzzle flash (changes here will not be saved)
    >> the muzzle flash texture (assuming it is a texture) itself may not be set on its game object center, check that the texture does not have any 'flashing' to it and if so trim it in your photo editing program
     
  3. TKBaha

    TKBaha

    Joined:
    Sep 2, 2013
    Posts:
    3
    Unfortunately that didn't work. I even deleted the prefab and created it again, not luck. But still, thank you for replying :)