Search Unity

Are multiple configurable joints are possible on one object?

Discussion in 'Physics' started by Slowin, Mar 27, 2015.

  1. Slowin

    Slowin

    Joined:
    Mar 6, 2015
    Posts:
    62
    I'm trying to add multiple configurable joints to one game object with rigidbody. The first joint is fine, but after adding a second one, the "connectedBody" of the first joint disappears.

    I'm talking about 3d physics here.

    Is it even possible to add multiple joints and if so how?
    Thanks
     
  2. psyydack

    psyydack

    Joined:
    Aug 30, 2013
    Posts:
    93
  3. Slowin

    Slowin

    Joined:
    Mar 6, 2015
    Posts:
    62
    I'm adding my joints with "gameObject.AddComponent <ConfigurableJoint>()", but the first joint loses it's connection after adding the second.

    Is there any other way how I could add the second joint?