Legacy Documentation: Version 5.0
Language: English
  • C#
  • JS

Script language

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

Removed in version 5.0.1p4
Joint2D.collideConnected has been deprecated. Use Joint2D.enableCollision instead (UnityUpgradable).

Joint2D.collideConnected

Switch to Manual
public var collideConnected: bool;

Description

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

See Also: Rigidbody2D class, connectedBody.