Shooting a projectile towards the touched location

I am in the process of developing a 3d mobile game that when the screen is pressed, it will shoot a projectile towards the location pressed from the character’s location without turning the character.

If your character is in the center of the screen, what you can do is calculate the angle of the touch relative to the center of the screen.

Thanks for your input SouHad.

I was able to use this method which works well.

top-down-mouse-driven-aiming-crosshair-follows