hello,
i would like to know how to make a shooting angle...
let's imagine that in front of you , there is a dog and behind him there is a ennemy(person).
If i want to shoot the dog, i need a angle toward the floor, but if i want to shoot the ennemy, i need a angle that will be more parallel to the floor...
Now, how do i manage this from a game that have a view from the top ?
It's only shooting straight in front of my sprite... So it will shoot the dog even if i target the ennemy...