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"

click mesh - show and run widget

arrg.. Hoping for simple answer :)

I have a Blueprint which includes an animated mesh. Also in the blueprint is a Widget with some animation. The mesh animation runs on the stage when clicked. I want to hide the widget until the mesh is clicked and its animation runs - this is when I want to see the widget. in this way, using the widget, I can display info about the mesh animation.

Hope that makes some sense! two days I have been working on just getting this working! pleaseeee heeelllp!

Product Version: UE 4.12
Tags:
more ▼

asked Aug 05 '16 at 10:37 AM in Using UE4

avatar image

Johnnyx
14 2 6 7

avatar image fabianu Aug 05 '16 at 12:47 PM

You could do a raycast from your character every time you click. If your ray hits the object you want to animate then call its function to start the animation and its widget. Here is the documentation: https://docs.unrealengine.com/latest/INT/Gameplay/HowTo/UseRaycasts/Blueprints/

avatar image Johnnyx Aug 05 '16 at 12:52 PM

hmmmm thanks for this! will take a look. As it happens, there isn't a character in-game. Just the mesh to be clicked on by a user - that may make a difference to the solution?

(comments are locked)
10|2000 characters needed characters left
Viewable by all users

1 answer: sort voted first

welll.. I created a work-around.. it will do until I can find the right way to do this! Maybe this will help someone :)

alt text

capture4.jpg (70.9 kB)
more ▼

answered Aug 05 '16 at 02:53 PM

avatar image

Johnnyx
14 2 6 7

(comments are locked)
10|2000 characters needed characters left
Viewable by all users
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