Hit Result Under Finger returns False
I am new to the Unreal Engine and i am currently on a project for an Android Game. I want to find the collision UV of an object but i can't seem to get a result from the function "Get Hit Result Under Finger For Object". I tried with the "For Channel" function but still the same thing. I tried adding all the available pins to the Make Array node but still to no avail. I tried passing the finger index from the Input Event but still nothing. I also tried another approach for PC, using the Line Trace for Objects and it works perfect but with the Touch i can't seem to get it to work.
The execution always ends up on the Print String function.
As a side note: i have successfully set up other things like, pinch to zoom and rotating around an object using touch. I believe i have googled probably all similar issues that is why i am posting myself :S
Thank you in advance, Kevin
The attached screen shows how i am currently keeping it, using the For Object version.
Ok so i managed to find the problem. So the issue was that the function Get Hit Result ... should be called immediately after the input event, in my case after the node Input Action Finger for example. What i was doing in my blueprint was that i was adding a delay after the Input Action node for other reasons, and then calling the Get Hit Result function node.
Apparently putting the Get Hit Result function node right after the Input Action node fixed the issue and now i get a True Hit Result. I do have issue Finding the UV Collision now since it is returning false but i will look into that before asking help again :S
Follow this question
Once you sign in you will be able to subscribe for any updates here