i am trying to make ball control like pang game. I write this code but sill missing something or i am doing something wrong.

I try to use Physical Material but i cant control it.
When i set bounce to 1 Y position will increase with every frame. So i cant so anything with that. 

```
private void OnTriggerEnter(Collider other)
{
    Debug.Log("Collied");

    if(other.tag == "rightWall")
    {
        direction = false;
    } 
    else if(other.tag == "leftWall")
    {
        direction = true;
    }

    if(other.tag == "groundWall") rigid.velocity = Vector3.up * 10;
    if(other.tag != "topWall")  BallMove(); 
}

void BallMove()
{
    if (direction == false)
    {
        rigid.AddForce(Vector3.Lerp(transform.position, new Vector3(-300f, 0, 0), Time.deltaTime * ballForce));
    }
    else
    {
        rigid.AddForce(Vector3.Lerp(transform.position, new Vector3(300f, 0,0), Time.deltaTime * ballForce));
    }
}

```