How to start Hud animation on button press
I am trying to make a minigolf game currently (starting using the rolling demo) and having some issues with HUD. I have been reading through HUD via the HUD and UMG hud and cannot get what they show to work.
I am trying to make a power bar that uses progress bar. It is supposed to on space bar press start filling up to 100 then take that value (do some multiplication to make it a larger) and apply it as an impulse to the x vector.
My first issue is using the guides I could not get the UMG hud to display (image of blueprint attached HUD variable cannot connect to target because physicsballbp is not compatible).
As a newb trying to help out:
First off, I think you can get rid of the casting node. I am not sure why it is there. Plug the return value from your widget into the target on "add to viewport" and it should display at least something. You can check if your widget is displayed at all by adding some dummy-text to your widget for example.
If the dummytext is displayed but not your power-bar the problem is probably inside the widget.
answered Jun 12 '15 at 08:13 AM
Follow this question
Once you sign in you will be able to subscribe for any updates here