I just began using Unity 5 about a week ago and I am already experiencing problems. I watched the tutorial video on the rolling ball game and got to the part where it uses RigidBody.AddForce(Vector3);. After saving the script that was given onto my Unity project, I ended up with this error:
Assets/Script/PlayerController.cs(12,27): error CS0120: An object reference is required to access non-static member `UnityEngine.Rigidbody.AddForce(UnityEngine.Vector3, UnityEngine.ForceMode)’
I am not sure what the problem is with my program. I have already tried reinstalling Unity 5 and there was no fix to the error. I would like to know why the RigidBody.AddForce does not exist in my Asset library. Thank You.