When my ball rolls across the ground it will sometimes shoot up into the air. How do I fix this?

I’m trying to create a small minigolf game just to learn more about game design. Right now I have it set up where you hold down space to charge up a hit and when you let go, relative force is applied to the ball to get it to move in the direction it is facing. The issue I am running into however is that sometimes when the ball rolls across two different floor objects (two cubes basically) it will launch up into the air. Does anyone know how to fix this? (This issue does not occur if the floor is made out of a single object. It only occurs when rolling from one object to another). I’ve linked a few videos of the incident and attached some screenshots.

This is what the ground that the ball is rolling on looks like.163644-capture-3.png

This is the code I use to add the force to the ball.

Any help on this would be greatly appreciated as I’ve been running into this issue for a while and I could not find any solution to it.

I had exactly the same problem in my project.

The solution that I found was to cancel the floor coliders,

And create a gameobject named ballholder.

This was a small invisible floor with a small collider moved with the ball on the z and x axis.

(I made a script that make it fallow the ball position).

So actually the ball moved with this holder, and it didn’t have these connections between the floor parts.