hey so i need a code that makes my wombat move by itself to eat the leaves. Something that sets location and then move towards closest leaf. thank you
Well, you would first have to determine (1) in any leaves are in the world; then (2) if so, which is closest; and (3) which direction to face to move toward it. Starting with (1), show what you have tried.
perfect I've been trying to contact you through email. i just needed some help on my code but you havent been here. i wasnt trying to straight copy anyones code. sorry about using this i understand its wrong