(If "Hero" is in line of sight) - "X" set speed 1000
- "X" rotate towards position "Hero.X" "Hero.Y"
These comands will be repeated each tick the Hero is in the line of sight of the bullet.
I don't know how to detect line of sight, but the rest should work
Line of sight is fine, but i cant get the rotation, what u mentioned, the bullet moves only left or right, so if the Hero jumps, it will go under and pass lol.
Basically, i want when 'Hero is in line of sight' (works fine) - Get object X to move towards Hero. Maybe bullet is not the right way? So far the bullet has 0 speed, but when it has 'line of sight' of Hero, the bullet gains 1000 speed to move rapidly to the Hero, but it keeps going left and right, i cant get it to 'follow' the hero.