I resolved some problems with bouncing/sliding, and the physics appear to be perfect. Going to add two features, and maybe release it as commercial physics code for Blitz.
First, I need to add arbitrary shapes made up of spheres. I made these out of chains, but I think a new routine should be written for handling these separately. Also note that chains can be connected in any kind of branching fashion.
I personally can't wait to see it when you can bump into a length of tubing suspended from the ceiling at both ends, and watch it sway back and forth.
Second, joint constraints need to be added, so you can do those cool ragdoll physics. This would be an incredible challenge before I wrote this, but now that I have it, only a small bit of code needs to be changed to handle this.
First, I need to add arbitrary shapes made up of spheres. I made these out of chains, but I think a new routine should be written for handling these separately. Also note that chains can be connected in any kind of branching fashion.
I personally can't wait to see it when you can bump into a length of tubing suspended from the ceiling at both ends, and watch it sway back and forth.
Second, joint constraints need to be added, so you can do those cool ragdoll physics. This would be an incredible challenge before I wrote this, but now that I have it, only a small bit of code needs to be changed to handle this.