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"

Input Motion Events not working in UE 4.19

Hi....

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.

Product Version: UE 4.19
Tags:
more ▼

asked Apr 25 '18 at 06:01 AM in Using UE4

avatar image

vladimirgiraldo
11 1 3

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

2 answers: sort voted first

Solution:

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

more ▼

answered Feb 01 '19 at 03:56 PM

avatar image

vladimirgiraldo
11 1 3

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

im having the same problem. did you find a solution yet?

more ▼

answered Jul 17 '18 at 03:57 PM

avatar image

Eddy_onemanchop
1

avatar image vladimirgiraldo Jul 17 '18 at 09:09 PM

Not yet... I reported this as a Bug to Epics. Their last answer (April 27th) was that they could not to reproduce the issue on the device they were testing (Android Shield Tablet). I told them that my Android device is a Motorola G8 with Android 7. After that I have'nt received news from them. This issue still's after I installed the hotfix 4.19.2. I had to migrate my project back to 4.16 version.

(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