Legacy Documentation: Version 5.2
LanguageEnglish
  • C#
  • JS

Script language

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

Joint2D.enableCollision

Switch to Manual
public bool enableCollision;

Description

Should rigid bodies connected with this joint collide?

See Also: Rigidbody2D class, connectedBody.