Turn based Game Units rotate towards target_position

Hello I Bought the pro Version of Astar Pathfinding and I’m wondering how I can activate the rotation toward the target just like in the “Example2_Terrain” the spider always look towards the target but in the turn based example the units just move to the target but never rotate or look to the target I need they rotate so they face the enemy and the animations are correctly displayed How I can Activate the rotation? in advance thanks for any help


The turn based example movement is controlled by a very simple script that interpolates along the path.
This is just an example code because pretty much any game that is turn based is probably going to want to use some custom code for this. There is no rotation support in this script, but you could add it in the TurnBasedManager.cs->MoveAlongPath method.