I am looking to implement just a 4 direction movement (no diagonal movement required). However, when my sprite moves along the pathfinding path, on the turns it doesn't follow the 90, 180, 270 angles and rather tries for a smooth turn. This is something I want to avoid. I strictly want the turns to be right angles as the player navigates through the maze. Is there a way to achieve this?
Also, my object sometimes cuts through the solids when taking a turn. How can I avoid that?