Simple Player Movement in Unity — Part 3

  • Pressing the d key and moving right would be X =1
  • Pressing the a key and moving left would be X = -1
  • Pressing the w key and moving up would be Y = 1
  • Pressing the s key and moving down would be Y = -1

--

--

Get the Medium app

A button that says 'Download on the App Store', and if clicked it will lead you to the iOS App store
A button that says 'Get it on, Google Play', and if clicked it will lead you to the Google Play store