Hi there. I have created simple line tracing system for my weapon and for my Enemy Actor but when I attack it will hit the Enemy Actor but when he attack it seems to ignore my Main Character. I am really stuck here and dont know what to do.
First thing that jumps out is that your getting a socket location but not providing a socket name to retrieve. I’m assuming this is not intentional. If your wanting the component location, you can use GetComponentLocation.
The second issue is the order of you sequences. Your calling your hit sequence using variables that are set up on the second sequence. The order of operations need to be the other way around and most likely not sequenced as you need to ensure that your collision variables are set before they are used. Ensure your collision variables are set then perform your traces.