6
$\begingroup$

I am trying to setup a rig that is based on rigid body shapes driving bones that then drive a mesh. The current setup is a chain of cylinders attached to each other with rigid body constraints (point type.) A chain of bones is child of an IKed to the cylinders, and a mesh strip is controlled by the bones. (See attached file.)

Currently is working well, except that the cylinders can roll over and twist the bones too much. I would like to limit the amount they can roll. This seems to be the local Z. I have tried the Limit Rotation constraint. This succeeds in having them stop rolling at a certain point, but then they fall over and begin rotating in other directions.

How can I stop their roll without this new poor behavior? The file is attached showing my setup. Is there a better way to do this?

$\endgroup$
3
+25
$\begingroup$

All you really need to do is get rid of the Child Of constraints on all of your bones.

The other thing I did which will improve the accuracy of the simulation, is change the shape of the ridge body collision shapes, so that they are thinner and wider (they can also be much shorter).

In this picture I have the ridge body collision set to "Box", and as you can see it works fine.
ridge body shapes


For reference here is before and after.
before

after

$\endgroup$
  • $\begingroup$ Thanks for the answer. Changing the geometry helps a lot, but it isn't enough to solve it if I have something like wind active. I need to be able to forcefully limit the rotation for when it is under extreme forces. $\endgroup$ – Drudge Jun 29 '15 at 5:07

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Not the answer you're looking for? Browse other questions tagged or ask your own question.