Legacy Documentation: Version 4.5.0

Script language:

  • JS
  • C#
  • Boo
Script language

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

Joint.enableCollision

Switch to Manual
var enableCollision: bool;
bool enableCollision;
enableCollision as bool

Description

Enable collision between bodies connected with the joint.

joint.enableCollision = true;
no example available in C#
no example available in Boo