ive been trying to cause this to happen when colliding with a collider (see picture below) but instead it just teleports the player to the right and then throws them in the air does anyone know how to do this properly? thanks! the code is on the player btw

void OnTriggerEnter2D(Collider2D other)
        {
            if (other.gameObject.tag == "Bounce")
            {
                GetComponent<Rigidbody2D>().AddForce(Vector2.up * bouncepower/5);
                GetComponent<Rigidbody2D>().AddForce(Vector2.right * bouncepower);
    
            }
        }

found the answer in my movement method i set the speed to be consistant so it cant go above a certain level stopping me from moving normally so i set it so it has to use the A and D key and has to be below max speed so when the player is thrown it stops setting the velocity and used AddForce instead.