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"

Switch widget in VR

I wanna switch 3D widget in the same level, what should I do ?

Set widget in an actor? Or use different actor with widget?

Product Version: UE 4.20
Tags:
more ▼

asked Jun 12 '19 at 08:02 AM in VR

avatar image

KEATE-
10 1 3 4

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

1 answer: sort voted first

Hello,

IMHO there is no big difference in 3d widgets with or without VR. I'll recommend you to use widget switcher inside host widget for e.g. animation while transiting between widgets. So typically you would have 1 actor with 1 host widget, and bunch of widgets that can be placed inside widget switcher.

In my project (whitch is also VR), i simply created enum with the same order that is inside switcher. So, for widget switching i just calling transition event in host widget when i need it.

alt text

About widget switcher:

https://www.youtube.com/watch?v=7Mbe-hQl0Yg

https://answers.unrealengine.com/questions/160614/i-was-wondering-how-widget-switchers-work.html

more ▼

answered Jun 12 '19 at 08:21 AM

avatar image

Ted_Undead
31 3 3

avatar image KEATE- Jun 12 '19 at 02:06 PM

Yeah, I have tried widget switcher before seeing your answer, and it worked. Thank you anyway.

avatar image KEATE- Jun 12 '19 at 02:12 PM

May I ask you another question? How can I interact with 3D widget using collision to call click event instead of using widget interaction component?

avatar image Ted_Undead Jun 12 '19 at 05:35 PM

Maybe this is that you looking for. getnamo also described how he managed to do such kind of interaction.

(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