Reseting objects?

Hello. I am working on a bowling game. How can I reset the ball and pin position after a frame?

An easy method to reset the position of everything in the scene is to simply reload the scene, using Application.LoadLevel().

To preserve data like the player's scores across this scene reload, either use static variables, or DontDestroyOnLoad.

You can do something like this:

public class Ball : MonoBehavior
{
    Vector3 _startPosition;
    Quaternion _startRotation;

    void Start()
    {
      _startPosition = transform.position;
      _startRotation = transform.rotation;
    }

    void Update()
    {
       ...
    }

    public void Reset()
    {
       transform.position = _startPosition;
       transform.rotation = _startRotation;
    }
}

Just call the Reset() after every frame, and do the same for Pin MonoBehavior.