Help with SlingShot trajectory...

I have this script of a Slingshot…



using UnityEngine;
using System.Collections;

public class slingshot : MonoBehaviour {

public Vector2 click;
public Vector2 Soltado;
public float multiplicador;
public float minimo_estirado;
public float maximo_estirado;
public int potencia = 1000;
public GameObject pers;
public Rigidbody2D rb;

// Use this for initialization
void Start () {
	rb = pers.GetComponent<Rigidbody2D>();
	rb.isKinematic = true;
}

// Update is called once per frame
void Update () {

	if (Input.GetMouseButtonDown (0)) {
	
		click = Input.mousePosition;
		Debug.Log ("" + click);
	
	}

	if (Input.GetMouseButtonUp (0)) {
		rb.isKinematic = false;
		Soltado = Input.mousePosition;
		Debug.Log ("" + Soltado);
		var direccion = click - Soltado;
		direccion.Normalize ();
		rb.AddForce (direccion * potencia);
			
	}
}

}


And I wan’t to do a dotted trajectory… but how? xD

Try this article: