Skip to content

Handle empty/missing hit box points #1815

@einarf

Description

@einarf

The old behavoir in 2.6 was to always return some reasonable hit box for sprites. We simply used the a bounding box around the entire image as a fallback. There wave been requests to handle this differently. For example disable collision entirely for sprites with no valid points.

I don't know how this will impact the underlying systems performance wise or what needs to be updated both rust and python implementations. Is this a good idea in the first place?

PR restoring the old behavor is here : #1814

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions