I havea single line trace thing. How can I move a cube by shooting it?

How can a single line trace react to physics (reaction with a moveable mesh)? If you can, please send images, because I am a beginner. Thank you for your time.