This extremely well done game uses beams (I suppose) for some hit effects.
My question is, how do they make the beams only go once?
I have also seen beams being used for explosion effects, so that too because they go only once in the examples I’ve seen.
MAIN QUESTION
As you’ve seen above, my question is that how did they make the Beam class only loop once?
I’ve attached a GIF in order to help explain my question.
(apologies for weird gif res)
As you can see in the gif above, the beam constantly shoots textures, looping over and over again. I want to be able to use Beam's features (textures, curving), but how do I make a beam only work once?
OTHER INFO
I’m having this in scripting support because I want to programmatically create this, I’m already experienced with the scripting side, I want to know HOW to do this in general though, what settings, etc.
Thanks for the reply, but I dont mean this, this would make the Beam abruptly disappear, I want the beam to fly through the air once and not repeat. I dont want to use Debris either, this would ruin the smooth disappearing.
If you mean by the “spark” like hit effect that occurs. I don’t believe they’re using beams though I may be wrong.
Basically, what they’re doing is creating multiple instances of stretched out sphere meshes, then they use math.random or something similar with a forloop to distribute around the charcater’s humanoidrootpart. Once they’ve done that, they move the parts forward depending on where they’re looking.
Essentially, you got a one time “shoot” out effect with a stretched out sphere for hit effects.
I get your reasoning, but this isnt it, the reason I know is because these are always 2dish, they have no literal physical form, but your help is appreciated