I’m very new to blueprints and have been trying to figure out how to do a switch teleport based on line trace hit.
In other words, I want my TPS character to trade positions with the actor hit by line trace.
Can someone provide some insights as to how this can be done? I’m using the third person template.
This is what I have so far; I’m attempting to first teleport myself to the target’s position and somehow teleport that target back to my previous position, but that doesn’t seem like the best way.
on hit save your char current location to a variable. Then move it to the hit ACTOR (looks like you are doing component, maybe that’s intended). After that set the hit actor location to the saved var vector.