I’ve been trying to create a simple lightning bolt system, which in theory should be fairly simple to create.
Basically, there’s two points. The start/origin point for the bolt, and the end/goal point where the bolt should end roughly. There’s also a set number of parts that are made for the bolt, and each part is rotated slightly so it creates a lightning bolt effect.
I’ve never tried doing it but someone said you can cast a ray and save positions along the rays, offset the positions then make a part to each position.
How about using RodConstraints and making the Attachments in random space from a transparent first Part in space?
Then you only have to worry about the Attachments and I think the Rod lengths will take care of themselves.
If not use a SpringConstraint and set the Diameter to whatever size you want the bolt (smaller toward the end if you want) and Coil diameter to 0. The Length of the Spring should be set to a small number
so it will just stretch between the Attachments.