Download

Trying to get a ball to bounce

I’m trying to get a ball to bounce when it collides with a wall.

The wall is a simple static mesh. I checked the collision on the mesh; the borders are green when I select ‘Simple Collision’; the collision presets are set to block all.

The ball has physics enabled; the collision on the mesh also shows green around the ball. However, when I start the ‘game’, the ball passes right through the wall. Does anyone have any suggestions?

Any advice would be greatly appreciated!

Thanks,

-Dan

1 Like

I just did this simple test:
-Added a cube
-Added a sphere
-Checked “Simulate Physics” on the ball
-Ball hits the cube and bounces as expected

Do the same thing and try to find out if the problem is in the ball or the wall. Maybe that will help.

1 Like

The collision has to be setup correctly on wall AND ball. These kind of things are almost always the problem

Furthermore make sure that the ball has a sphere collision component etc.

1 Like