Error CS0120, have no idea why i get it.

I’ve followed the exact orders showed in this video: , and I keep getting error CS0120: An object reference is required to acess non-static memeber ‘UnityEngine.Component.rigidbody’.

I am very new to unity and have absolute no idea what do to. Thanks for your help! my code:

void FixedUpdate(){
float moveHorizonal = Input.GetAxis (“Horizontal”);
float moveVertical = Input.GetAxis (“Vertical”);
Vector3 movement = new Vector3 (moveHorizonal, 0.0f, moveVertical);

By the way, I’ve tried changing the rigidbody’s r to capital, didn’t help.

With Unity 5.0 the rigidbody component is now hidden, and you need to use GetComponent() to get it.