Roll-a-Ball project error trying to AddForce

Hi Everyone. I am doing the Roll-a-Ball tutorial and am stuck early on. I am on lesson 3 here: http://unity3d.com/learn/tutorials/projects/roll-a-ball/moving-the-player

Below is my C# code, which is literally the SAME as the one in tutorial video, but I keep getting the “Expression denotes a type where a variable, value or method group was expected” error when I hit save. There are 3 errors all on the last line.

I browsed similar error questions but those were unable to help. Thanks!

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

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

		rigidbody.AddForce(movement);
	}
}

Odd Your script works perfectly, I just created that scene with this full script (using statements included)

using UnityEngine;
using System.Collections;

public class PlayerController : MonoBehaviour {

	void FixedUpdate ()
	{
		float moveHorizontal = Input.GetAxis ("Horizontal");
		float moveVertical = Input.GetAxis ("Vertical");
		
		Vector3 movement = new Vector3 (moveHorizontal, 0.0f, moveVertical);
		
		rigidbody.AddForce(movement);
	}
}

I just had this same problem… I’ve searched for the past hour and a half before coming to find out that simply restarting Unity would fix the problem. I was getting error CS0120 regarding rigidbody.addforce and was sure it was my code but I had made 0 changes to it and it fixed itself on restart. lol oh well, hopefully others stumble across this page, even as closure so they’ll know the quick fix next time (after a good look at the code that it:D )

I do same as in the video but i got the same problem it shows one error on AddFoce
I am new in unity so some one help me…