Hit result under cursor while dragging widgets

BlackBird604
Mon, 01 Jul 2019 19:04:04 +0000
UI

Hello,
I’ve created a simple draggable widget that creates a drag operation. The class of the DragVisual is different from the actual draggable widget. It consists only of an image. Both the DragVisual widget and its image are set to HitTestInvisible.

Inside the PlayerController I perform a GetHitResultUnderCursorByChannel operation with a custom trace channel (LandscapeTrace). As soon as I start the drag operation I stop receiving information about objects under the cursor - the operation always returns false.

Is there any way to fix this? Any help will be highly appreciated.

5 posts - 4 participants