#Enemy doesn't aim their gun to the player (Unity2D)

1 messages · Page 1 of 1 (latest)

broken dirge
#

I'm trying to make my enemy aim their guns at the player, and all it does is aim at 0, 0 of the map. The code is from another set of similar code where it was tracking the cursor previously. It looks to be like something went wrong in the calculations or in the code itself.