rigidbody.AddForce(movement);
Assuming you are using Unity 5 it should be telling you that the syntax is obsolete. Use this instead:
GetComponent<Rigidbody>().AddForce(movement);
Full example here: Rigidbody.AddForce
rigidbody.AddForce(movement);
Assuming you are using Unity 5 it should be telling you that the syntax is obsolete. Use this instead:
GetComponent<Rigidbody>().AddForce(movement);
Full example here: Rigidbody.AddForce