Ai rotation problem

Hey man, old thread, but how did you fix it?