Moving the player ...Roll a Ball doesn't move..!

I hate this tutorial…im using unity 5.4
my player wont move when i hit play.Here is my code please help me
and I dont know why my Playercontroller is grayed out , I attached snapshot of my project too…
please help me…
Im very new to Gaming…

using UnityEngine;
using System.Collections;

public class PlayerController : MonoBehaviour {

public float speed;

private Rigidbody rb;

void Start ()
{
	rb = GetComponent<Rigidbody> ();
}

void FixedUpdate ()
{
	float moveHorizontal = Input.GetAxis ("Horizontal");
	float moveVertical = Input.GetAxis ("Vertical");

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

	rb.AddForce (movement * speed);
}

}

Thank you…

Your speed is most likely 0.0f here. Being a public variable you can assign it a value in the inspector. Hope that fixes it :slight_smile: Good luck