Download

Pawn turn to face moving direction when using AI Move to

Hello !
I am now working on a FPS game ( it’s my first UE4 project, so please excuse me for this questions) and I managed to create a NAvMesh, and make the AI move the pawn to a certain point on the map. My only problem is that the pawn has the same rotation as it has when it started moving (I would like to make it look at the moving direction). If I only had straight lines, it would be pretty simple, I would have used find look at location to rotate it to the target point, but I have a small problem.
I have a spiral staircase, I can’t update the rotation using find look, because the target point is above ( I put two videos video just bellow to explain the problem)
[video]https://youtu.be/WJVholjP9TU[/video]
[video]https://youtu.be/qs2Q7Ti1t4g[/video]
Can you please help me?