Legacy Documentation: Version 5.3
LanguageEnglish
  • C#
  • JS

Script language

Select your preferred scripting language. All code snippets will be displayed in this language.

Removed in version 5.3.6
Joint2D.collideConnected has been deprecated. Use Joint2D.enableCollision instead (UnityUpgradable) -> enableCollision

Joint2D.collideConnected

public bool collideConnected;

Description

Can the joint collide with the other Rigidbody2D object to which it is attached?

See Also: Rigidbody2D class, connectedBody.