Mass Spring System

ricardo_arango
Posts: 3
Joined: Tue Oct 28, 2008 7:04 pm

Mass Spring System

Post by ricardo_arango »

HI,

I am pretty new to bullet, so it might be a newbie question. I need to simulate skin, using three layers of mass particles joined with springs.

So a bottom layer would represent bone, and the particles would be fixed to the bone. They would act more like a joint than a particle, as they won't be affected by the forces of the springs, but will have a spring attached to them. The middle layer is muscle, and it should be (muscle) mass particles connected by springs. And finally there should be an outer layer with also mass particles connected with springs. And there will also be springs connecting particles from the skin layer, to the muscle layer, adn from the muscle layer to the bone layer. What would be the best way to implement this in Bullet? I thought of soft bodies, but I'm not sure if I can interconnect vertices like that. Or is it possible to have rigid bodies with no collision shape, but mass and connected with springs?

Thanks