Touch - Fire shot system

i want to where player touch that direction will be fire shot

1 Like

Hello,

If you take the “Location” output from your Input Touch event, you can use that to get the touch location. Then you can connect that to the direction input. I am not sure how you have set up the “Fire Shot” event, but you may need to tweak the vector a little to get the results you want. Let me know if that helped you.

in here you can watch

Hi Serhat,

Thanks for the video explanation. That is odd, I’ll have to investigate that further. I was able to get this working though:

Can you tell me if that works for you?

thank you so much but still doesnt working

Add in your project this script

:slight_smile:

it will be New BP - Controller or PlayerController? or i will add in character BP ?