Mouse-Keyboard Not Working - New User

New Unity User…

Following the exact tutorial for the Roll-A-Ball game.

When I play the game the ball doesn’t move.

I doubled check all ideas about the input not working across Google and this forum…

  • - Change speed to 500
  • - Delete reg key (which I didn't have an input value)
  • - Change "fixupdate" to "FixedUpdate"
  • - Double checked code (I copied and pasted the tutorial code)
  • - Make sure the tick box is check next to the "PlayerController" script.
So, what's with mouse or keyboard not working?

Thanks in advance

Finally figured it out… Someone needs to change the tutorial code.

I needed to use “Velocity” not “movement”

rb.velocity = movement * speed;