Mesh picking plugin's require_markers
setting doesn't seem to work correctly
#19182
Labels
A-Picking
Pointing at and selecting objects of all sorts
C-Bug
An unexpected or incorrect behavior
S-Needs-Reproduction
Needs an up-to-date or minimal reproduction
Bevy version
0.16
What you did
While trying to find a workaround for #19181 I tried enabling the
require_markers: true
setting inMeshPickingSettings
, and added theMeshPickingCamera
to my cameras andPickable
events to everything I wanted the mouse to interact with.What went wrong
No picking events were fired at all.
Additional information
If I add a
Pickable::default()
component to the lowest entity in the hierarchy (not the lowest by depth from camera, nor the highest by depth from camera) then I start receiving picking events for everything in that hierarchy.As in, in this hierarchy, only the red-dotted entities have
Pickable
, yet I receive picking events for all the other components, as demonstrated in the following logs:If I simply remove the
Pickable
component fromPipe Bridge Inner
then I no longer get any picking events even though all of these entities haveMesh2d
.The text was updated successfully, but these errors were encountered: