Rolling ball can jump on vertical surfaces

If you create a rolling ball template, you will notice that the “CanJump” variable will reset to true, regardless of whether the surface is horizontal or vertical. These means you can go up to a wall and just keep pressing the jump button and it will keep letting you jump.

Any way to fix this using blueprints?

I figured out how to fix this: you need to do a line trace for objects, with the starting point being the relative location of the marble, and the end location being 100 pixels below it. Make sure “trace complex” is set to false and “ignore self” is set to true, and you’re all good to go!