Script doesn't move object in Unity 5

I had a script in unity 4, which with mouse click, spawns triangles and push them towards a circle. Now in Unity 5, nothing happens. No errors, it just spawns triangles and then nothing.

#pragma strict
var triangle : GameObject;
var circle : GameObject;

function Start () {

}

function Update () {
	var mouseStart : Vector2;
	var mouseStop : Vector2;
	var powerVector : Vector2;
	if( Input.GetMouseButtonDown(0) ){
		mouseStart = Input.mousePosition;
	}
	if( Input.GetMouseButtonUp(0) ){
		mouseStop = Input.mousePosition;
		powerVector = mouseStop - mouseStart;
		var a : Vector2 = Camera.main.ScreenToWorldPoint(mouseStop);
		var hit1 : RaycastHit2D = Physics2D.Raycast(a, Vector2.up);
		var hit2 : RaycastHit2D = Physics2D.Raycast(a, Vector2.right);
		if ( (hit1.collider == null) || (hit2.collider == null) ){
			var copyTriangle : GameObject = Instantiate(triangle,a , Quaternion.identity);
			copyTriangle.GetComponent.<Rigidbody2D>().AddForce(powerVector, ForceMode2D.Force);
		}
	}
}

In this line

 if ( (hit1.collider == null) || (hit2.collider == null) ){
             var copyTriangle : GameObject = Instantiate(triangle,a , Quaternion.identity);
             copyTriangle.GetComponent.<Rigidbody2D>().AddForce(powerVector, ForceMode2D.Force);
         }

and the specific line

 copyTriangle.GetComponent.<Rigidbody2D>().AddForce(powerVector, ForceMode2D.Force);

there is no force parameters! You must add force like:

AddForce(powerVector * myforce, ForceMode2D.Force);

got it?