Animating UMG's ProgressBar on Event Tick

anonymous_user_8b77cbb9
Sat, 19 Aug 2017 23:58:45 +0000
UI

In my HUD’s tick event, I have a graph set up so that the health bar should animate smoothly from 100% down to 50% fill.

However, this does not work; the health bar doesn’t budge a single inch. At the end of the graph I’m updating a text block with the ‘Curr HP’ value and that decreases as expected. This can only mean that the Set Percent node isn’t doing what it should. The health bar only updates when the target of 50% is reached.

I’ve also tried binding a function to the ‘Percent Fill’ property inside the UMG editor that simply returns Curr HP, but that also doesn’t work. The health bar stays unchanged, until the value hits 50 and it suddenly skips to 50%.

How can I get this to animate properly?

5 posts - 1 participant