Get the Code :
Best Unity 2D Book :

In this video I finish setting up the system that will allow Ms. Pac-Man to perfectly travel through the maze. We’ll cover how to calculate if Ms. Pac-Man can Move in Certain Directions, Working with GameObjects in an Array, Keeping Ms. Pac-Man from Getting Stuck, Simulating Hitting Walls, Animating, Changing Ms. Pac-Man’s Direction without Pivot Points and more.

Thank you to Patreon supporters like the following for helping me make this video