COVID-19 Support:
We’re providing all users three months of complimentary access to Unity Learn Premium.
Just log in to start learning.

Player Character: Part 2

1 Hour
Now that you’ve spent time developing the player character for your game, you’re ready to create a custom script to control its movement.
In this tutorial, you’ll:
  • Create a new script Asset in Unity
  • Explore the default script that is produced
  • Make a vector which can be used to change the character’s position
  • Apply vertical and horizontal movement and rotation to your character
  • Check that your changes work with Unity’s physics system
When you’ve finished, John Lemon will be ready to creep around a haunted house!
Recommended Unity versions
2018.3 - 2019.1
Player Character: Part 2