I have a progress bar that is bound to the variable (initial value = 100) that is decreased by 25 every 0.5 seconds, so now I have a properly working system but progress bar jumps from one value to another and it doesn’t look good. Is there any way to smoothly animate this? Add some sort of transition effect when the value decreases?
1 Like
Easiest way that comes to mind is to use the built in animation system. If you can’t see it in your widget editor then go to Windows ->Timeline
1 Like
There’s no need for any additional components or animations. Instead, interpolate it:
The above assumes the stamina is 0-1. Do the division thing that you already do before returning the value.
5 Likes
Thank you for your help