Ok, so I have been working on a horror game for a while now and I have it to where doors never open but instead the player presses E and the player appears on the other side, at least that was the idea.
My problem is that I have a line trace that fires when the player presses E and when it collides with a blueprints collision box it is supposed to fire an event where it teleports the player to the other side of the door using a scene components location as where the player ends up, but when e is pressed and the line trace hits the actor it goes through the collision box and hits the door instead, the blueprint does fire when it hits the door, but it fails to send the player to the set location. The doors have two collision boxes on both sides of the door as well, so of course one collision box allows the travel to the other side and the collision box allows travel back through the door. I haven’t found a way to get this working properly but if anybody has an idea how, It would be kindly appreciated if you told me cause a simple door blueprint has been driving me insane lmfao. I have my code attached to the post so you can see. if I need to post more code then I will gladly do it.
Thanks for helping if you do!