ive been thinking about this for awhile and i thought about using a table that holds each bullet and then running through each bullet in the table every frame and then updating every trajectory. but then I also thought why not make a thread for each bullet so that it updates simultaneously?
wouldn’t i need to create a new thread every time a bullet is fired and then have it do a loop in each thread? and then close the thread after its done with it’s projectile? i want it to run each frame so wouldn’t that mean i have to do run.renderstepped on every thread? i feel like this is bad and im not sure as to what i should be doing for this issue.
please any tips or ideas on how i would manage each bullet being fired?