Skip to content

Phaser.Physics.P2.Body.addPolygon doesn't work with a flat array of numbers for the coordinates #883

@wayfu

Description

@wayfu

It works when passing the numbers as individual arguments, or when using a nested array, but not if they're in a flat array.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions