How do i move a gameObject when it collides with another gameObject?

Hi

Im very new to Unity3D and im working on a game where i want the player (a sphere) to get moved back to the start when it hits a cylender.

If anyone could help me it would be fantastic.
Thanks

Don’t worry. I figured it out!

It’s traditional to post a quick summation of how you solved the problem in case another user stumbles on this thread via Google.