Deproject Screen To World error
Hello smart peoples. I'm at my wits end here! I've read up all the answers on other posts but nothing solves my problem.
I'm doing ye olde drop inventory item onto view, getting the screen position of the mouse, deproject screen to world and doing a trace to find the location under the mouse. It does a trace in the general direction... and I can drop my item into the world - but the trace is always off!
I've also tried making a function on the player controller, using get mouse position, doing the trace there and sending back the hit results but that doesn't work either.
Does the deproject take the camera FOV into account when finding world position/direction? What am I doing wrong here?
asked Feb 24 '16 at 09:37 AM in Blueprint Scripting
Screen space position is returned as absolute coordinates and must be converted to the viewport's actual location. Now dropping items on exact spots is perfect when in windowed!
answered Feb 24 '16 at 10:55 PM
Follow this question
Once you sign in you will be able to subscribe for any updates here