Progress Bar Fill to Add Impulse?

Hi Everybody,

I’m trying to make an ‘Add Impulse’ action linked to a variable visible in a Progress Bar Fill.
(Similar to the progress bar fill in ‘penalty kicks’ in soccer games)

I can’t find a full tutorial on this.

Can someone tell me the complete steps?
(For example: Add Timeline / and link this to a variable linked to the Impulse)

Thank you so much!

Hi

Check the Images I made short the setup you would need. Make sure that the custom event Impulse is executed (in my case from begin play you can also just to that there np).

Inside the Add timeline create a float. Check the length (duration) and looping. And try right click on a keyframe. (shift + LMB creates a keyframe btw).

In your widget just bind the impulse variable to the progress bar percent. (I can send you a picture of that if you need help with that as well).

Wow! Thank you VERY much.

The timeline variable link works perfect.

However I still can’t see the progress bar on my viewport when I apply the Kick input.

Let me show you what i’m linking right now on my widget.

Am I missing something? The idea is to display the progress-bar on viewport when the input is applied.

Thank you very much once again.

Okay, the Progressbar percent looks fine.
Is the widget already added to the viewport?
Nodes: “Create Widget” (Select your widget class) > “Add to viewport”
If you have already have done that you should see the progress bar the whole time. You can then bind the Visibility of your progress bar (branch with condition (IMPULSE VALUE > 0) true: visible, false: hidden ) or “remove from parent” in your BP.