IgnoreCollisionWith() 공개 메소드

Ignores collisions between this fixture and the provided fixture.
public IgnoreCollisionWith ( Fixture fixture ) : void
fixture Fixture The fixture.
리턴 void
예제 #1
0
        public void IgnoreCollisionWith(Body other)
        {
            for (int i = 0; i < FixtureList.Count; i++)
            {
                Fixture f = FixtureList[i];
                for (int j = 0; j < other.FixtureList.Count; j++)
                {
                    Fixture f2 = other.FixtureList[j];

                    f.IgnoreCollisionWith(f2);
                }
            }
        }