Everynone
(Everynone)
August 5, 2022, 11:17am
10
Cool. So this bit…
…will not work. We need to translate the 2d coords into 3d. Either have a look at the link I posted above which translates the widget size into another world size or deproject:
Alternative way to deproject:
I have to assume a lot here - no clue how the world we’re dealing with looks like - suggesting generic ideas only.
Do note that the way player controller works while a widget has focus is convoluted. Have a look here for more info:
Because it's undocumented, arcane knowledge obtainable only by those knowing a secret handshake.
The below assumes you have overridden and using a Game Mode, a Player Controller and created a custom Drag & Drop Operation.
in the Player Controller
A Custom Event converts screen space to world space via deprojection and sets actor’s position:
[image]
in the Custom Drag & Drop Operation blueprint
Event Dragged spits out screen space coordinates and feeds them to an Event Dispatcher, we…
2 Likes