My code works even if I don’t try to make the hero avoid the yaks (multiply the distanceToYak vector), and my hero just walks to the X without angering the yaks.
mind if you show me your code and may be a screen shot of the error?
It’s not a bug. There are many ways to complete it without vectors.
You can complete some levels not as difficult as it says there. Although it won’t learn you anything. So it’s your choise: complete it with learning or just complete it for gems.
I personally would choose learning.