I finally made a good softbody sim
for 2 years now I have been trying to make a softbody sim. each time it either broke or I couldn't get it to feel right but finally after 2 years Im finally good enough at coding and figured out what the problem with my other softbodys was and made one in just over 24 hours
- space = add point
- up arrow = increase size
- down arrow = decrease size
- S = turn off spring while held
it is currently HORRIBLY Optimized. I have 5 for loops running each frame 2 of which are nested in a different for loop.I'm going to work on optimizing the code so it can run much better and faster. if anyone can give me some suggestions on how to optimize it I would greatly appreciate it.
