LanguageEnglish
  • C#
  • JS

Script language

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

This version of Unity is unsupported.

Rigidbody2D.collisionDetectionMode

Switch to Manual
public CollisionDetectionMode2D collisionDetectionMode;

Description

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