Skip to content

Only single Pointer<Click> when multiple hits against Pickable::should_block_lower:false #15290

Closed
@brandon-reinhart

Description

@brandon-reinhart

Bevy version

bevy-0.15-dev as of around 9/18/24

What you did

What went wrong

If you have multiple sprites overlapping at different z in 2d ortho and they are Pickable with should_block_lower set to false, I used to get multiple Pointer Click for each one. With the recent change to hit ordering (#14862), I now only get the top-most Pointer Click. It seems like should_block_lower is not being respected.

Metadata

Metadata

Assignees

No one assigned

    Labels

    A-PickingPointing at and selecting objects of all sortsC-BugAn unexpected or incorrect behavior

    Type

    No type

    Projects

    No projects

    Milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions