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.

ContactPoint2D.otherCollider

var otherCollider: Collider2D;
Collider2D otherCollider;
otherCollider as Collider2D

Description

The incoming collider involved in the collision at this contact point.