Legacy Documentation: Version 5.1
LanguageEnglish
  • C#
  • JS

Script language

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

Rigidbody2D.collisionDetectionMode

Switch to Manual
public var collisionDetectionMode: CollisionDetectionMode2D;

Description

The method used by the physics engine to check if two objects have collided.