-
Notifications
You must be signed in to change notification settings - Fork 0
GetColliderVertices2D
Stone Hobbs edited this page Jun 27, 2022
·
1 revision
This will return an array of vertices that define the shape of collider
.
Note: If the exact Collider2D
type is known, it is better to use the corresponding function rather than this one.
collider
the collider to get the vertices of
Vector2[]
an array of vertices that define the shape of collider
vertices in adjacent indexes define an edge