Unity Ball and Movement Script trouble

I am watching the Unity Tutorial 2 of 8. Everything I have repeated Plane, Sphere, Rigidbody, Made a Script and added it to Player
using UnityEngine;
using System.Collections;

public class PlayerController : MonoBehaviour {

public float speed;

private Rigidbody rb;

void Start ()
{
rb = GetComponent();
}

void fixedUpdate ()
{
float moveHorizontal = Input.GetAxis (“Horizontal”);
float moveVertical = Input.GetAxis (“Vertical”);

Vector3 movement = new Vector3 (moveHorizontal, 0.0f, moveVertical);

rb.AddForce (movement * speed);
}
}

When I hit play and using the default input keys WAD the ball does not move. I went back and watched the video many times. what am I missing. I know I need

Are you sure you set the speed?
Does it return errors?

I have it set to 10 no errors in console

FixedUpdate not fixedUpdate. Case is important. Good luck with your learning!

1 Like