Input Motion Events not working in UE 4.19
I have a project in version 4.16 that use gravity and rotation rate as input for camera movement. When is packaged to an android device, works fine. I've just migrated the project to version 4.19, and when it is packaged to Android device, the input motion events (gravity, rotationrate, etc.) don't work. I've tried with an empty project in 4.19 to get the input values and all values returned for input motion (gravity, acceleration, rotation rate, etc.) are always zero (0.0). I have even tried in my old pc with 4.13 version and works fine.
What I have to do to make input motion events work in UE 4.19?
Any help would be appreciated.... Thanks.
The Android device must have a magnetometer. If magnetometer is not present in the device, the input motion values are not calculated. To get input motion values in devices without a magnetometer in lastest versions of the engine, the GameActivity.java template must be modificated. Refer to this issue: https://issues.unrealengine.com/issue/UE-59537
answered Feb 01 '19 at 03:56 PM
im having the same problem. did you find a solution yet?
answered Jul 17 '18 at 03:57 PM
Follow this question
Once you sign in you will be able to subscribe for any updates here