Raycast hit

hello,im making fps game,and i dont know how i can make when raycast hit, for example box,it rolls away…if somebody can explane to me, it would me greatful. :slight_smile:

http://unity3d.com/support/documentation/ScriptReference/Physics.Raycast.html

i know that,i have raycast script,but when i add box and rigidbody ,when i shoot it,nothing happens.

i want it ,like when physic material hit it,it rolls away.

RaycastHit
RaycastHit.rigidbody
Rigidbody.AddForce