I made a lightning bolt module. It uses parts and I tried to keep it as clean as possible (. Someone told me to just use particle emitters. But my module uses parts for random and unique shapes, and for different uses like targeting a specific part, targeting a random spot ON a part, and just random lightning for something like a storm. The parts are deleted quickly and should not exceed more than 200-300 parts at once. Should I lower the part count or should I just use particle emitters? Thanks!
2 Likes
Can you send a picture?
I made one awhile back, and I only used 50 or so parts for each lightning bolt.
If the amount of parts ever does cause lag, you could generate a few (maybe 10) lightning bolts and export each one as a mesh, then randomly pick from the list when creating a new one.
1 Like
Here is a video:
I could export them as meshes. But that limits there size and they would have to be stretched and transformed. This way, it maintains each parts size. I could cap the segments and just make them longer when needed.
EDIT: Don’t mind the frame drops in the video. My computer is just like that when I record.
2 Likes
I don’t see that causing any noticeable lag
1 Like
alright. i just wanted to know if it’s useful to publish and give to people