- Home /
Question by
JuanseCoello · Apr 11, 2014 at 03:17 AM ·
c#gameobjectrigidbodyjoint
How can I define a joint for my ragdoll?
I have this
var joint = DefaultRagdoll.AddComponent(); joint.connectedBody = GameObject.Find("DefaultRagdoll").rigidbody;
But it says that rigidbody does not contain a definition for connectedbody, what I want is to get the Rigidbody component from the GameObject
Comment
Your answer
![](https://koobas.hobune.stream/wayback/20220613142439im_/https://answers.unity.com/themes/thub/images/avi.jpg)