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"

Office Holiday

Epic Games' offices will be on holiday from June 22nd to July 7th. During this period support will be limited. Our offices will reopen on Monday, July 8th. 

BUG? Tilt control not working on ASUS ZenPadZ8

I have tilt control set up and working perfectly fine on my iphone, but it does not work properly on my ASUS ZenPadZ8. I hooked up a printstring to my tilt event and found that it is jumping from in the Z axis from -3 to 3 with no inbetween. Maybe this is a BUG?

Product Version: UE 4.12
Tags:
more ▼

asked Jul 28 '16 at 12:59 AM in Bug Reports

avatar image

Zack_McN
60 9 14 14

avatar image Samantha Sutton ♦♦ STAFF Aug 01 '16 at 07:41 PM

Zack_McN,

Can you please tell me which Android Version your device is on?

Thank you!

avatar image Zack_McN Aug 01 '16 at 08:05 PM

Thanks for responding. Android 6.0.1, This is a huge annoyance since this is the only android im testing my game on. How I am testing it:

alt text

avatar image Samantha Sutton ♦♦ STAFF Aug 02 '16 at 06:54 PM

I checked this out on a Nexus 5 using 6.0.1 and verified that tilt control is working. I have looked up the specs for the Asus Zenpad Z8 that you're on and verified that we do not have a device that has the exact same specs as what your device does.

I went ahead and tested it on an Asus Zenfone 2 and verified that the tilt control is working.

Therefore, I'm going to need for you to provide me the logs from your mobile device.

  • Attach your phone to the computer

  • Go here: C:\NVPACK\android-sdk-windows\tools

  • Open up Monitor.bat

  • Launch the program and save the logs

If you cannot get Monitor.bat to open, please go to: - C:\NVPACK\android-sdk-windows\tools\lib\monitor-x86 - Open up Monitor.exe - Follow the instructions above

Make sure that you highlight all of the logs, because they do not save unless they're highlighted.

Thank you!

avatar image Zack_McN Aug 02 '16 at 09:24 PM

Here is the log, I am using the rolling ball template with the test node set up above. Thanks for responding

link text

log.txt (64.9 kB)
avatar image Samantha Sutton ♦♦ STAFF Aug 02 '16 at 09:31 PM

Your whole log shows the tilt working on your device. Is it just not showing up on the device? Or do you think that it's pushed off to the side, due to the size of the device screen?

Feel free to upload a sample project of your own, where you're verifying the issue on your phone, and I can compare it to mine, if you'd like.

Thanks!

avatar image Zack_McN Aug 02 '16 at 09:40 PM

what I ment was the problem is that it would jump between a certain number and a similar number but negative. Notice in the log how it jumps from a positive to negative same number (like 2.8 to -2.8) with no in between movement close to zero, my game requires precise movement. It has nothing to do with the string being pushed to the side.

avatar image Samantha Sutton ♦♦ STAFF Aug 03 '16 at 07:53 PM

I misunderstood your issue just a bit, thanks for explaining further.

When the phone is:

  • Laying flat, it seems to stay around 3.19

  • Pick up, laid on its side flat, it'll stay around 0.4

  • Tilted to the left, it'll stay around 2.55

  • Tilted to the right, it'll stay around -2.55

  • Tilted away from me, it'll stay around 3.19

It does depend on how steady my hand is, where I'm leaning it. If I tilt towards my right hand, the numbers are negative and when tilting towards my left hand, they're positive and change based on which way i'm tilting the device the most.

Are you noticing on your phone that it's randomly jumping around? I'm noticing that mine are quite steady when watching the numbers that are being printed. However, I am slowly moving the device. I noticed that if you move it too quickly, it doesn't print all of the numbers.

avatar image Zack_McN Aug 03 '16 at 10:47 PM

when im holding the device in my hand, looking directly at the screen, even the slightest tilt will jump it from 2.5 to negative 2.5 and vice versa. My Iphone is nothing like this and is able to get a smooth transition like when I tilt from one side to the other the string prints something like (1, 0.75 0.5 0.25 0 -0.25 -0.5 -0.75 -1) for iphone, but for the zen pad it jumps (2.5 -2.5) with NO transition. Is this the case for only the zen pad and not for all androids, cause if all androids are like then the game is broken or i am going to have to add a touch option (that would break the game concept). Another thing I dont understand is how a game like temple run would be able to get that accurate tilt movement on my zenpad, is this something to do with UE4. Still though thanks for the response, I was worried it was something on my end like a defective zenpad.

avatar image MartinDiavolo Aug 05 '16 at 07:54 PM

hey I have tried your blueprint I have the same issue :( im trying to make a game with ball to tilt the screen but its not working at all :/ i'm testing it on Xperia Z 3

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

1 answer: sort voted first

This is actually resolved in 4.13 but there is a rendering issue in 4.13 with launching onto certain Android devices. Therefore, you might get a grey screen that isn't rendering properly if you test on your device. My Nexus 5 for example gets this issue. We're working on a fix for this rendering issue as well.

UE-6135 is the tilt axis issue and UE-34053 is the rendering glitch on Android in 4.13.

Thank you!

more ▼

answered Aug 05 '16 at 07:50 PM

avatar image Zack_McN Aug 07 '16 at 12:20 AM

Thank you for the information, I would like to know exactly when a stable version of unreal engine 4.13 or a newer version of 4.12 that fixes the bug will come out, i wanted to release my game now, that i have worked on for months, but now I can not launch, and downgrading to another to 4.11 is not an option because of the plugins I am using. Help please, i want to release this as soon as possible. Its not just me, MartinDiavolo is also having the problem, and all my beta testers first feedback to me is that the character is veering off to the side and the game is "broken".

avatar image Samantha Sutton ♦♦ STAFF Aug 13 '16 at 09:14 PM

Please respond back if this issue isn't fixed with the release of 4.13. It may be in an upcoming preview, but I can't guarantee that at this time.

Thank you! :)

(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