Unity Courses 2D Grid Movement Player Controller in Unity
Unity

2D Grid Movement Player Controller in Unity

For any tile based game you need your player object to snap between points rather than having free movement.

1 chapter · 7m Beginner Updated 10 Apr 2023 Phil · @FirnoxGames
Free

Free for everyone. No account needed.

Start watching →

What you'll learn

1 Create a 2D grid movement player controller script in Unity ▶ 7 min

For any tile based game you need your player object to snap between points rather than having free movement.

In this chapter
  1. Introduction
  2. GridMovement script
  3. Final changes and testing
Included with this course
Video walkthrough · 7m
</>Annotated source code ↗ · public domain