Returns list of normals a collider box has constructed by a list of corners
Source
static List<Vector2> getColliderBoxNormals(List<Vector2> corners) { List<Vector2> tList = new List<Vector2>(); tList.add((corners[1] - corners[0]).normalized()); tList.add((corners[3] - corners[0]).normalized()); return tList; }