Search Unity

Question Trying to make a rope that keeps it's initial shape

Discussion in 'Physics' started by Donsky, Nov 7, 2020.

  1. Donsky

    Donsky

    Joined:
    Mar 27, 2014
    Posts:
    80
    Hello,

    I have a character with a few "elastic" pipes poking in and out out of it's back (view image below for more clarity) . What I want to achieve is to make said pipes behave like ropes in the sense that the bones have some kind of an inertia whenever the character rotates and wobble back and fourth a little. Simple character joints don't do the trick, since the general shape of the pipes is not preserved that way (Unless I put a few "guiding colliders" on the back to force the shape, but I don't want to rely on that). One option for me is to implement some kind of a rig for it manually, but I'd rather it used the in-built physics. Another is to use a combination of new IK system and a bunch of joints, but I have not managed to come up with an adequate solution just yet...

    Can you suggest, how to make this thing work?

    PS: Here's how the 'pipes' look:
    upload_2020-11-7_14-34-31.png
     
  2. rubcc95

    rubcc95

    Joined:
    Dec 27, 2019
    Posts:
    222
  3. Donsky

    Donsky

    Joined:
    Mar 27, 2014
    Posts:
    80
    Thanks, I'll experiment with those when I get back to it