Bevy picking DragDrop's Hit position is confusing. #16965
Labels
A-Picking
Pointing at and selecting objects of all sorts
C-Bug
An unexpected or incorrect behavior
S-Needs-Design
This issue requires design work to think about how it would best be accomplished
Bevy version
0.15.0
[Optional] Relevant system information
rustc 1.84.0-nightly
Windows 10
What you did
I want get Drop position from
Trigger<Pointer<DragDrop>>
, usetrigger.hit.position
, I think it should store the position when left-button is released.What went wrong
I'm getting hit position same the
Trigger<Pointer<Over>>
, it's not useful forDragDrop
behavior.Test
I made a demo to demonstrate it.
(I tested Mesh2d and Sprite only.)
drop.mp4
This is core codes.
This full project:
test.zip
The text was updated successfully, but these errors were encountered: