Hierarchy

  • PolygonColliderOptions

Properties

Properties

offset?: Vector

Pixel offset relative to a collider's body transform position.

points: Vector[]

Points in the polygon in order around the perimeter in local coordinates. These are relative from the body transform position.