I try to save posting a question as a last resort, but i am stumped. I am trying to make a projectile home on to its target (i got the target bit work, currently i am setting the target to me). Like ranged auto attacks in LoL or Dota2, or also like a homing missile. The way i am approaching it is by having the projectile find a look at target (which is me and works also) and then give the projectile movement by adding a projectile movement.
I havent seen any clear tutorials or examples, so i decided to post.
I thought that if i gave the projectile a look at target, that the projectile would move toward that direction when i give it velocity. So i give velocity in the projectile movement in the X axis. The projectile faces me, but the projectile moves in a straight line on its X axis. How can I get the projectile to move towards me (and in the end its target which i already set up, im just testing it on my character since it is the only thing in the scene right now).
Thanks in advance!