How do I access...

A “FixedJoint” component on an object?

Have tried all of the following:

transform.collider.attachedRigidbody.FixedJoint...
transform.FixedJoint...
transform.gameObject.FixedJoint...
transform.collider.FixedJoint...

With no results! Where is this thing hidden?

Thanks, in advance, for any help, folks! :slight_smile:

Hi,

same way as you get any other component:

JS:
var fixedJoint : FixedJoint = transform.GetComponent(FixedJoint) ;

C# 
FixedJoint fixedJoint = transform.GetComponent(typeof(FixedJoint)) as FixedJoint;

–
oxl