Hi mate, I'm absolutely loving this so far. Im about 15 in! The only thing I'd mention is I'm having real trouble with the move node command. I don't have my mouse handy, so I'm using the track pad. Dont know if that's a problem, but it's very rare that i can get it to work. I basically just have to delete a node if it's in the wrong place.
Thanks, glad to hear you like it!
The move node is a bit finicky because nodes are stuck to bridge segments who can't exceed their max length. So if a node is sent between segments that are already at max length, it becomes very hard to move. This was discovered a bit late in the process and unfortunately I couldn't really do anything about it. In retrospect I should probably have cut the feature and just relied on deletion.
Ah, I see! Gotcha. Thank you for the explanation. No problem at all. I'll stop trying to use it, haha.
I'd love to know a little bit more about the physics behind it, do you have a write up or anything? I can see how the gravity/ stability works for example but it would be cool to know about what dictates the chord/ rope breaking force. Do you calculate tension or is it more of an impact force?
Thanks! Verlet integration is really fun to work with. Very straight forward and the results are always entertaining. :D
Here what I based my original code on -- https://stackoverflow.com/questions/42609279/how-to-simulate-chain-physics-game-...