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?