Moving the Player

Tutorial

·

Beginner

·

+10XP

·

30 mins

·

(3727)

Unity Technologies

Moving the Player

1. Overview

2. Add a Rigidbody to the Player

3. Install the Input System package

4. Add a Player Input component

5. Create a new script

6. Write the OnMove function declaration

7. Apply input data to the Player

8. Apply force to the Player

9. Fix the Player movement speed

Optional Step

10. Final script sample

Complete this tutorial