I cant figure out how to complete dance off can i have some help
I cant figure out how to find the x/y offset
First you would need to find the nearest friend, then you would need to create two new variables (x and y) and define them as friend.pos.x - hero.pos.x and friend.pos.y - hero.pos.y. After that, in a while true loop, you would need to move to {“x”: friend.pos.x - x, “y”: friend.pos.y - y}.
This topic was automatically closed 12 hours after the last reply. New replies are no longer allowed.