Why does the toggling set hidden in the game not work properly?

I’ve added a plane to my character blueprint and assigned it a muzzle flash texture, and off of the left-click input action, the muz event is being called:

muz event:

The problem I’m facing is that after some time the muz event does not work anymore and the muzzle flash is hidden forever (at least it does not appear where it should be), and I don’t know if I’m doing it wrong or if it is a bug.
I’ve set the collision of the muzzle flash to no collision.

1 Like

Can you try with a longer delay, like .25?

1 Like

and what is the branch checking?

1 Like

I experimented with .25 delay and it seems it worked properly. But the muzzle flash is not going to delay for .25; it should be something like less than .03

You can’t have a delay that’s shorter than your frame rate.

So if your game is running at 30fps, then having a delay < .03 makes no sense :slight_smile:

This topic was automatically closed 30 days after the last reply. New replies are no longer allowed.