Well I want to create gun which shoots by lightning. Now I am trying to understand the approach. Here are some conditions: Length of lightning could be different, a form could be different.
So form could be several textures with alpha channel. But how to implement a different length?
Firstly I thought to use single mesh - “plane”, and stretch it, but it is a bad idea, because the texture will be corrupted.
Then I thought to use multiple meshes - “plane” with textures, build a curve from Vector3 points, and place meshes on them, but it takes a lot time to develop code for me now.
So what you think about it? Is there some other approaches?