Download

How to stop constraints exploding

Hi

I’m trying to make some procedurally generated physics based trees at the moment.

I have gotten to the point where my trees generate ok, I can have branches and a bunch of other stuff is working too.

I have worked out that you basically need to turn the physics off (I go through every mesh component and turn off it’s physics before I do this) before adding a constraint and a new mesh to the tree (which I need to be able to do at game time) and then turn it back on later, otherwise thing’s bounce around.

But as my tree grows it gets to the point where it just explodes crazy. I don’t know if it’s angular or linear drive, or projection or springs or WHAT is causing it to explode and fly around. I wish I knew

Any clues how to keep my constraints holding my meshes in place?