When I am playing skating away, no matter how I write my code to avoid yaks, I always just walk forward. Can you help me figure out what’s wrong? Here’s my code:
[edited]
# Once you have the 10m vector away from the yak, use Vector.add to add it to your goal vector!
Vector.add(goal, yakvector)
I think your last line should be
goal = Vector.add(goal, yakvector)
1 Like
Darn! I completely missed that! Thanks!
Also, did u all notice, but they wrote the guide lines(the ones marked off by commenting marks) wrong. It should be “# Finally, determine where to move by subtracting your goal vector to your current position,” not “# Finally, determine where to move by adding your goal vector to your current position.”
Please do not revive dead threads. This one has been left alone for a year!