i am making uh game where player chase object try and catch it. i have trouble with ai for object to run away.
here is tricky part. i would like to have ai face enemy as actually it move backwards as player get closer it trys to run away. facing player is not uh problem, but how to get it to move in backwards direction?
sorry if i not make much sense.
here is idea overall.
animal stalks player (working) but keeping uh distans=ce (working)
player try to chase animal animal back up still facing player. this part not working.
after too much, animal turn around run away to try make sure player not get too close yes? working.
sorry again! thank you!