I’ve been doing an NPC system for my game, until i got to the rotation problem. So, NPCs will behave very strangely when i’m forcing them to look at player with an AlignOrientation or IKControl. Even if i make the look only X and Z axis and not at Y axis, they start to behave… strange: they start flying, jittering or going away from player.
How can i make them work properly?
(In this example i also want this sphere to look also at Y)