Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
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 <[email protected]>
- Loading branch information