Download

I can continue jumping after energy is depleted. Problem.

I am using the Rolling Ball game mode, for mobile platforms. I have set up my energy bar and energy depletion after every jump, but I can continue jumping after it reaches 0. I have tried everything I know and what I’ve looked up, but I think since its rolling ball none of that works the same.

just do a branch before you execute the jump with a bool like “can jump” and when energy is lower than say 1 set that bool to false, when energy regens past 1 set it to true