I'm making a game where you are a Wizard, trying to shoot fire and ice at the other player/AI. One major problem i have had is the player can shoot behind itself. I need it to only be able to shoot in front of it, or in its "Vision"
* = player
/ or \ = his line of "Vision"
____ = where he cant shoot
__I need something like that. Please help