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.
you have + and multiply in wrong places - change it. fps camera/GetWorldLocation must be vector + vector, GetForwardVector must be vector * float (or integer).