public void SetStatic() { if (_type == BodyType.Static) return; _mass = 0.0f; _invMass = 0.0f; _I = 0.0f; _invI = 0.0f; _type = BodyType.Static; for (Fixture f = _fixtureList; f != null; f = f.Next) { f.RefilterProxy(_world._broadPhase, _xf); } }