I currently have these 2 aliens, of which the big purple one hunts the smaller one.
Now ive got a system for when the small one detects that its hunted, but how do i calculate so that it runs away from the purple alien? I cant just make it move to a random position because then theres a chance that it also runs straight to the purple alien.