Search Unity

Connecting two ragdolls via springjoint

Discussion in 'iOS and tvOS' started by TopSecretID, Sep 23, 2009.

  1. TopSecretID

    TopSecretID

    Joined:
    Sep 6, 2009
    Posts:
    7
    Hi all

    I have question regarding using spring joints in a ragdoll.
    Basically, I am familiar with using spring joints on primitive objects (e.g. have a sphere and a cube connected via a spring jont then drag one around and watch the other follow).

    So, I’m trying to apply this to two ragdoll, so that when one moves the other is pulled along.
    Here are the steps that I took, after which the two ragdolls still behave independent of one another (no spring between them):

    1) Create ragdoll A in editor.
    2) Duplicate ragdoll (ragdoll B).
    3) Select the root object in the hierarch of ragdoll A add Component ‘Spring Joint”
    4) Drag the root object of ragdoll B in to the ‘Spring Joint -> Target’ component.
    5) Click play drag ragdoll A around (I’m using the standard DragRigidBody’ script

    So, what’s wrong?
    I also tried the above but using a bone in the skeleton (head) instead of the root object.

    Still has no spring effect at all.

    Why does the above work for primitives but not ragdoll?
     
  2. andeeeee

    andeeeee

    Joined:
    Jul 19, 2005
    Posts:
    8,768
    Does the root object of the ragdoll have a rigidbody attached?
     
  3. TopSecretID

    TopSecretID

    Joined:
    Sep 6, 2009
    Posts:
    7
    yes it does !
     
  4. TopSecretID

    TopSecretID

    Joined:
    Sep 6, 2009
    Posts:
    7
    yes it does !
     
  5. Lostlogic

    Lostlogic

    Joined:
    Sep 6, 2009
    Posts:
    693
    This is the same problem I'm having. I have a fixed joint between two rigid bodies yet they don't stay connected.
     
  6. lacas8282

    lacas8282

    Joined:
    Apr 25, 2015
    Posts:
    139
    any news in this?