Object Physics

Hi everyone, i’ve been working on a game for a while now and i’ve encountered a problem that i don’t know how to solve and i think it mostly have to do with the physics.
so basiclly i’ve made a maze that rotate around its axis and there’s a ball inside of the maze that you control by rotating the maze; but sometimes when i rotate the maze and the ball around the edge of the maze, the ball jumps (simulate physics) and it could fall.
so is there a way to avoid this?

326437-aa.png

Could you add a collision capsule to the top of the maze so the ball physically can not fall out?

i though this would be a lazy solution but it worked just fine
thanks!

glad it worked for you haha