- 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