Quantcast
Channel: iOS and tvOS
Viewing all articles
Browse latest Browse all 10823

Hit direction indication

$
0
0
Hello,

I have a FPS that I'm trying to add an Indication on the screen when the player gets shot. So, if the player is getting shot from the left, then I want an indicator on the left hand side of the screen indicating this.

Can someone guide me in the right direction. Not sure if there is a way to do this with a raycast. The enemies are sending out raycasts to apply damage to the player.

Thanks,
JL

Viewing all articles
Browse latest Browse all 10823

Trending Articles