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:

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

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

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

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

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

Hi

removing all tags except bug report works better :smiley:

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: Tilt and Gravity controls on Android sensitivity - World Creation - Epic Developer Community Forums

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

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