Documentation

Unity Engine


User Manual

Script Reference

Unity Engine


collideConnected

Can the joint collide with the other Rigidbody2D object to which it is attached?
Read time 1 minuteLast updated 6 days ago

Definition

  • Type: Property
  • Namespace: UnityEngine
  • Assembly: UnityEngine.Physics2DModule
Warning
Removed. Joint2D.collideConnected has been obsolete. Use Joint2D.enableCollision instead
public bool collideConnected { get; set; }

Remarks

Additional Resources: Rigidbody2D class, Joint2D.connectedBody.