when i set it to turn(45); while intersecting an object it always does a 180, also my walls the actors get stuck in them and spin pretty often.
if ( isTouching(Wall.class) )
{
turn(45);
}
i'm trying to make a pacman style game and the issue i'm having atm is with the ghosts turning too much/getting stuck.
there a way i can do somthing like if within.1 of Wall.class turn?