Build 0.18.0.0

This commit is contained in:
Markus Isberg
2022-05-13 00:55:52 +09:00
parent 15d18e6ff6
commit 7547a9b78a
218 changed files with 3881 additions and 2192 deletions
@@ -44,13 +44,13 @@ namespace FarseerPhysics.Common
if (path.Closed)
{
ChainShape chain = new ChainShape(verts, true);
body.CreateFixture(chain);
body.CreateFixture(chain, Category.Cat1, Category.All);
}
else
{
for (int i = 1; i < verts.Count; i++)
{
body.CreateFixture(new EdgeShape(verts[i], verts[i - 1]));
body.CreateFixture(new EdgeShape(verts[i], verts[i - 1]), Category.Cat1, Category.All);
}
}
}
@@ -74,7 +74,7 @@ namespace FarseerPhysics.Common
foreach (Vertices item in decomposedVerts)
{
body.CreateFixture(new PolygonShape(item, density));
body.CreateFixture(new PolygonShape(item, density), Category.Cat1, Category.All);
}
}
@@ -105,7 +105,7 @@ namespace FarseerPhysics.Common
foreach (Shape shape in shapes)
{
b.CreateFixture(shape);
b.CreateFixture(shape, Category.Cat1, Category.All);
}
bodyList.Add(b);