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"

Virtual joysticks causes WidgetComponents to stop working

Hey guys,

I've run into this weird issue where adding virtual joysticks to your project results in the widget of a WidgetComponent not being able to handle a mouse press / touch event.

In order to solve this, we tried to find out which z-order the joysticks exist on. This seemed to be a value of around -10 / -11. My first approach was to change the z-order on the WidgetComponent itself to at least something higher than that value, but no matter which number I set this tom the Virtual Joysticks still seem to be above the widget in the widget component. I believe this results in the mouse / touch event being consumed.

Removing the virtual joysticks from the project settings will allow us to press the widgets again, but we require the virtual joysticks in order for a feature to work.

Anyone got an idea what may be causing this?

Product Version: UE 4.13
Tags:
more ▼

asked Nov 09 '16 at 12:40 PM in Bug Reports

avatar image

tthiecke
29 3 4 8

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

2 answers: sort voted first

Hello tthiecke,

I was unable to reproduce this issue on our end. I am able to click the 3D widget component as expected in the world after joysticks are added to the screen. Could you insure that you have set up your widget interaction component correctly? Could you make sure that you have your touch events setup to cause a simulated click from the mouse buttons (Press/Release pointer key nodes)?

Example:

alt text

Make it a great day

more ▼

answered Nov 09 '16 at 03:04 PM

avatar image

Rudy Q ♦♦ STAFF
47.4k 545 132 525

avatar image tthiecke Nov 10 '16 at 08:32 AM

Hi Rudy,

thank you for your quick reply. I wasn't aware that I had to setup the widget interaction component as well. Thanks to your suggestion I managed to make it work on my side as well. I also had to change the widget component's User Interface > Space property to World instead of Screen.

Thanks again,

Timothy

avatar image MrYunZhang Sep 09 '18 at 02:35 PM

Has Any solution? Thanks...

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

I have had some problems with widgets in screen space when the viewport or window was a little bigger than the displayed screen leaving some black space shown. This usually happens when displaying in portrait mode. If you resize the window to fit the display the widgets should appear correctly. Doesn't sound like this is likely the problem but it is one possibility.

more ▼

answered Nov 10 '16 at 08:49 AM

avatar image

Wa1rus
0

(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