[SOLVED] Line Trace points somewhere else
I am using LineTrace for the first time. My goal is to use it in a VR gaze-based teleport system. I followed some tutorial I found online and after some issues with the results decided to go to the basics by applying it to the FP-Character of the FPTemplate. I did what the turorial said as you can see in the picture here:
But when I hit on play and click the fire button the trace line is drawn pointing to the sky and backwards when I am aiming at at box. I think it has to do with the Get World Position node but I cant figure out how to solve it. I know this is pretty basic stuff but I cant find the solution online.
I think you have to use multiply on the forward vector instead of your add 1000. And also change the vector multiply vector to vector add vector.
answered Dec 21 '17 at 08:14 PM
I am using vector + float wich multplies the value and then it is linked to a vector + vector node
answered Dec 21 '17 at 08:30 PM
You have trace done not correct. Here how to (you need to change Event Tick with Fire if you need):
Whole good tutorial is here https://docs.unrealengine.com/latest/INT/Gameplay/HowTo/UseRaycasts/Blueprints/
answered Dec 21 '17 at 08:29 PM
Follow this question
Once you sign in you will be able to subscribe for any updates here