public void AddShape(ShapeData shape, ContactGroup group) { if (!shapes.Contains(shape)) { shapes.Add(shape); ShapeData s = shape.Clone(); s.ContactGroup = (int)group; if (!(s is MeshShapeData)) { s.Scale(GlobalScale.X); } physicsObject.AddShape(s); } }