public static void CollidePolyAndEdge(ref Manifold manifold, PolygonShape polygon, Transform TransformA, EdgeShape edge, Transform TransformB) { PolygonShape polygonB = new PolygonShape(); polygonB.SetAsEdge(edge._v1, edge._v2); CollidePolygons(ref manifold, polygon, TransformA, polygonB, TransformB); }