Optional
options: Partial<EdgeColliderOptions>Ignores collisions with layers in the array
Collision layer
X-Y axis offset
TRUE if this collider interact with rigid bodies
Edges rotation in radians
Collection of 2d vectors representing the vertices of the collider
Collider composed of lines defined by its vertices, for 2d collisions.
Example