文档

Unity Engine

Unity Engine

collideConnected

Can the joint collide with the other Rigidbody2D object to which it is attached?
阅读时间1 分钟最后更新于 1 天前

Definition

警告
Removed. Joint2D.collideConnected has been deprecated. Use Joint2D.enableCollision instead
public bool collideConnected { get; set; }

Remarks

Additional Resources: Rigidbody2D class, Joint2D.connectedBody.