Version: 2018.3 (switch to 2019.1)
LanguageEnglish
  • C#

Collider2D.offset

public Vector2 offset;

Description

The local offset of the collider geometry.

This offset can be used to shift the local origin of any 2D collider geometry.

Did you find this page useful? Please give it a rating: