Cube Movement with Raycast

Hello Everybody,

I need a litle help from you... I have a two object in my scene as named Cube1 and Cube. I want Cube1 go to Cube automaticly with raycast.

How can i make that?

Regards Vincenzo

Here are the basics of moving a game object to another game objects position No RayCast in that example as it isn't required, but here are some pointers on using RayCast