Can i Connect One rigidbody with Two moving ridigbodies?

i have 2 moving rigidbodies.
i have another rigidbody.

can i connect the third rigidbody with the 2 moving rigidbodies? if so then how?

may be fixed joint can help here bt can it be done with this 1:2 manner?

case 1: the 2 rigidbodies are moving at the same speed
case 1: the 2 rigidbodies are moving at a different speed
currently i am woriking in the 1st scenario, bt if 2nd scenario occurs what will happen?

1 Answer

1

Create two joints components and attach a rigidbody to each one. Say you want to connect objectA to objectB and ObjectC, all having rigidbodies. Add two FixedJoint components to objectA (you can try different joints to see what’s more appropiate for your use).

Fill the connected rigidbody property of the first joint by dragging ObjectB on it, and do the same with the second joint, by dragging ObjectC on it. Now you have ObjectA connected to both objects.

can you/anybody elaborate a bit much? I guessed your answer so far, but I am looking for a detailed answer/explanation. Thus asking a question here :)

–

tnx :) any idea what will happen in scenario 2? and why?

–

The Best thing is to test it out with a simple scene. It could depend on how the joints and rigidbodies are configured, if the joints can break or not. I'm working in a Project with rigidbodies and joints now, but for the momment I'm controlling the joints through code. It would be interesting to see what happens once you allow the joints to break.

–