My ball "jump" when hitting a wall

Hi !

Sorry if I made mistakes I’m not English!

I’m new to unreal engine and recently trying to make a game of mini golf. I encounter a major problem that completely prevents me from doing a real gameplay.

When I shoot and the ball starts to spin, when it hits a wall it “jumps” because of the spin of the ball. I tried a lot of things and I searched a lot on the net nobody talks about this concern.

Thank you in advance for your help

You can see the probleme here : https://i.imgur.com/DNl1kx1.mp4

This happens in real life too, that’s why billiards (pool) table ‘walls’ are not vertical, but tilted inwards.

You can restrict the ball’s movement to XY axis, but I’m not sure if it will work too well in all cases.

I understand well. But isn’t there a way to make the ball bounce off the walls without jumping? How do people who make golf games with unreal do?

Thanks :slight_smile:

Hey @Maxoumi! Welcome to the Forums!

What kind of elements do you have in your mini golf game? How is your golf ball set up?

In the meantime, I found a thread that can possibly give some insight into changing your actor’s gravity as an option:

[Question] Is it possible to change the gravity scale for a static mesh or Blueprint?

Another option you can to is a bit of smoke and mirrors, where you adjust the angle of the wall’s collision or even add some invisible collision above the ball at points where the possibility of bouncing up exists.

I hope one of these solutions is what you are looking for!