bevy/crates/bevy_picking
Robin Gloster 4998b9d0c5 picking: disable raycast backface culling for Mesh2d (#16657)
# Objective

- This fixes raycast picking with lyon
- reverse winding of 2D meshes currently results in them being rendered
but not pickable as the raycast passes through the backface and would
only hit "from below"

## Solution

- Disables backface culling for Mesh2d

## Testing

- Tested picking with bevy_prototype_lyon
- Could probably use testing with Mesh3d (should not be affected) and
SimplifiedMesh (no experience with that, could have the same issue if
used for 2D?)

---------

Co-authored-by: Aevyrie <aevyrie@gmail.com>
2025-01-03 19:15:53 +01:00
..
src picking: disable raycast backface culling for Mesh2d (#16657) 2025-01-03 19:15:53 +01:00
Cargo.toml Release 0.15.0 2024-11-29 01:50:42 +01:00
README.md

Bevy Picking