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"

Tilt Vector values on Android seem to be upside down

Hey everyone,

I'm having trouble getting the tilt function to work with my Android phone. It seems that the tilt values are upside down because when I hold the phone flat on the table with the screen up, the tilt values snap from values like x=-3,y=0,z=-3 to z=3,y=0,z=3. When I hold the phone up with the screen facing down, the values are much closer to 0 all round.

Is there a way to flip this so that the values are the right way up? I've tried using the calibrate tilt node but it doesn't seem to do anything. It will be hard to just use maths to set it to be the right way up because when the screen is facing up, it snaps from -3 to 3 back and forth, so I'm not sure how I can work with that. Any suggestions would be appreciated! My device is a Sony Xperia Z3+ if that helps.

It also looks like there's some other people with this issue: https://forums.unrealengine.com/showthread.php?68258-Tilt-Calibration-Problem https://answers.unrealengine.com/questions/303266/blueprint-tilt-controls-are-upside-down.html

Is this a bug? Can it be fixed if so?

Product Version: UE 4.12
more ▼

asked Aug 10 '16 at 02:54 AM in Blueprint Scripting

avatar image

18 8 13 15

avatar image saeedc Aug 10 '16 at 03:11 AM

tilt Y is always zero on android devices. but works fine on IOS

I think nobody has reported it as bug yet :) you do it

avatar image Rhiannonnee Aug 10 '16 at 03:19 AM

Hi saeedc, I have added a tag to this as a bug report. Is that how you report it?

avatar image saeedc Aug 10 '16 at 03:14 AM

for now you can use Gravity X instead of tilt Y for up and down. but does not work so good

avatar image saeedc Aug 10 '16 at 03:22 AM


removing all tags except bug report works better :D

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

1 answer: sort voted first

After posting this question I came across a slightly different post on these forums that had the answer I was looking for! Here it is for those who might need it: https://answers.unrealengine.com/questions/87252/tilt-and-gravity-controls-on-android-sensitivity.html

Still not sure if this is a bug, but if it is then I hope it can be fixed.

more ▼

answered Aug 10 '16 at 04:12 AM

avatar image

18 8 13 15

avatar image saeedc Aug 10 '16 at 12:34 PM

that cannot be a solution for what you are looking for.

please don't mark this post as resolved

if you mark this as resolved then nobody pays attention to it as a bug

(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