x

Search in
Sort by:

Question Status:

Search help

  • Simple searches use one or more words. Separate the words with spaces (cat dog) to search cat,dog or both. Separate the words with plus signs (cat +dog) to search for items that may contain cat but must contain dog.
  • You can further refine your search on the search results page, where you can search by keywords, author, topic. These can be combined with each other. Examples
    • cat dog --matches anything with cat,dog or both
    • cat +dog --searches for cat +dog where dog is a mandatory term
    • cat -dog -- searches for cat excluding any result containing dog
    • [cats] —will restrict your search to results with topic named "cats"
    • [cats] [dogs] —will restrict your search to results with both topics, "cats", and "dogs"

How to start Hud animation on button press

Hello,

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).

alt text

Product Version: UE 4.7
Tags:
capture.png (86.1 kB)
more ▼

asked Jun 11 '15 at 11:46 PM in Blueprint Scripting

avatar image

KracKr1
0 2 3 5

(comments are locked)
10|2000 characters needed characters left

1 answer: sort voted first

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.

more ▼

answered Jun 12 '15 at 08:13 AM

avatar image

DaveL88
31 3 6 10

(comments are locked)
10|2000 characters needed characters left
Your answer
toggle preview:

Up to 5 attachments (including images) can be used with a maximum of 5.2 MB each and 5.2 MB total.

Follow this question

Once you sign in you will be able to subscribe for any updates here

Answers to this question