how to I set a object reference?

If im reading it right (Which I might not be because you didnt use CODE TAGS , grrr) it appears your Rigidbody is null. Make sure it has a Rigidbody component attached.