Thanks a lot @L1z4rD89 for the proposed solution. Even if I couldn’t apply it identically, it helped me a lot to find the logic and adapt it to my situation. I just have one small problem to solve now…
My game is in 3D and the obstacles come from the front. When the 3d crosshair passes from a very close obstacle to a more distant obstacle, theres is an issue that makes the interpolation buggy, which takes much longer to reach the cursor than usual because the 3dcrosshair is far away . I tried to increase the interp speed of the X value and it’s better, but the Y and Z location are always buggy .
Part 1/2 : Get the location under mouse cursor and Save in Target Location Variable . If there is nothing under the mouse save the location of the LineTrace End .
This topic has been moved from International to Programming & Scripting: Blueprint.
When posting, please review the categories to ensure your topic is posted in the most relevant space. Hopefully, this category change will help you (or other devs!) to get an answer.