Skip to content
This repository was archived by the owner on Mar 11, 2019. It is now read-only.
This repository was archived by the owner on Mar 11, 2019. It is now read-only.

Cannot use :filter option with fixture-def #100

@the2bears

Description

@the2bears

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.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions