I’ve tried looking around for a solution to this and have spent quite some time tinkering with different options but can’t seem to get what I need.
Essentially I want to do a line trace from “Actor Location” to “50 units to the Right”
My idea here is to “get actor location” as the start of the line trace and go 50 units in the x direction. Here is my blueprint:
Why wouldn’t this always go 50 units to the right of my actors location? Do I need to factor in the rotation of the character? I tried to get actor rotation but can’t figure out how I am supposed to combine that with the actor location and then add 50 units of space to the right for the end of my line trace.
Right now with this setup the line trace will always go in the same direction from my actor location regardless of the way i am turning. like below:
Any help anyone can give me would be greatly appreciated.