You've chosen a speed of 5m/s for your variable `playerSpeed`. That's around 11 miles per hour, so is quite a speed for a human player to run at. Perhaps you should reduce this speed? Also, you have lines at 17, 21 and 25 where you are not adjusting the translation by the `deltaTime`. You'll want that (just as you have on line 13).
↧