3
$\begingroup$

I'm trying to find a way to have this following chain be an object influenced by gravity.

enter image description here

The two pieces of chain on either side are fixed and will not by affected y gravity and can be moved around using armature. I want the rest of the chain to respond accordingly but the individual chains pieces not to be deformed

Any ideas?

$\endgroup$
1
  • $\begingroup$ I think I have done something similar once, just rigid bodies, separate chain into individual links, take two pieces you want to be not affected and make them passive rigid bodies with passive attribute, change rest to active attribute... don't forget to give them Mesh and not convex hull and you are good to go, use some more settings to make it look better $\endgroup$
    – MikoCG
    Commented Sep 14, 2021 at 12:53

1 Answer 1

5
$\begingroup$

As I have said in the comment, make your chain by links, select them all and join them together. Go to Physics and give this object Rigid body physics. Use these settings: enter image description here

just make it active and change the convex hull to mesh... you can tweak mass later to give it better results...

After that go to edit mode, select all vertices, use RMB and select Separate -> by Loose parts... After this, your chain links are separated pieces and you need to select all of them, use RMB and select Set origin -> Origin to Center of Mass (Volume)... After this select two sides links and change those and only those 2 to passive in their physics settings.

Check the Animated option and you can freely move your chain however you wish(just don't move it too fast)

enter image description here enter image description here

Note: This is just a base for your problem, you will need to set Surface response, Sensitivity, mass, gravity and other things based on what you want to get as result.

$\endgroup$
6
  • $\begingroup$ I've tried this, but whenever I run the animation, the links just 'explode' for lack of a better word. All the links go crazy and start flying off in different directions $\endgroup$
    – Emma Lane
    Commented Sep 14, 2021 at 13:19
  • $\begingroup$ that happens if origins are not in middle, if you use convex hull instead of mesh or use too small links with too big serface sensitivity, can You show me your chain so I can see where is mistake? $\endgroup$
    – MikoCG
    Commented Sep 14, 2021 at 13:22
  • $\begingroup$ Related blender.stackexchange.com/questions/20970/… $\endgroup$
    – batFINGER
    Commented Sep 14, 2021 at 13:30
  • $\begingroup$ @MikoCG, your comment about the origins and using lower surface sensitiviy seemed to stop it from exploding, but the chain still breaks after the animation is played. Link to my setup: imgur.com/a/NspflFc $\endgroup$
    – Emma Lane
    Commented Sep 14, 2021 at 13:37
  • $\begingroup$ Actually, never mind, I just set up contransints and that seemed to do the trick. Thank you very much. $\endgroup$
    – Emma Lane
    Commented Sep 14, 2021 at 13:46

You must log in to answer this question.

Not the answer you're looking for? Browse other questions tagged .