Hello how can i force to rotate the enemy to the target even if it reaches?

i want the enemy or agent to keep rotating to look directly at his target even if target reached

ita a 2d game btw I tried some solution but it gives me a weird rotation


You can set ai.updateRotation = false; and control the rotation of the object yourself. That might be what you are after?