How to get a ball to bounce at a constant height?


I am trying to have a 3D ball move forward and bounce at the same time. I have been able to make the ball bounce and move forward but the problem seems to be that over time the ball speed and bounce heigh seem to increase. I have tried setting the collision detection to continuous I have also tried all of the settings on the bounce combine but the only one that makes the ball bounce is maximum. The rest result in the ball bouncing once and then never again. Here is the code that I have for moving the ball forward.

private void FixedUpdate()
    rb.AddForce(Vector3.forward * Time.deltaTime * forceMulti);

If anybody has any suggestions for moving the ball forward and keeping the jump height the same that would be great!


You could add an oncollisionenter() function and add a force as vector3.up, and just remember that the ball collides with the ground, if it has a collider attached.