play-clj icon indicating copy to clipboard operation
play-clj copied to clipboard

Cannot use :filter option with fixture-def

Open the2bears opened this issue 9 years ago • 0 comments

This is pretty minor, only needing a change documentation.

If the :filter option is used when creating a fixture-def, a java.lang.IllegalAccessError will be thrown, due to the fixture being final: https://github.com/libgdx/libgdx/blob/master/extensions/gdx-box2d/gdx-box2d/src/com/badlogic/gdx/physics/box2d/FixtureDef.java

Filters may be changed through filter! or by obtaining a reference to the filter from the fixture-def and setting the fields on the filter directly.

the2bears avatar Jul 20 '16 03:07 the2bears