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"

[Bug] Rotation Rate from UDK Remote is wrong.

I am using UDK Remote, iPad Air 2 and UE on Windows 10.

UDK Remote's Rotation Rate X = actual iPad's Rotation Rate Z

UDK Remote's Rotation Rate Z = actual iPad's Rotation Rate -X

I tried with 4.10.4 and 4.13.1 and the bug occurred in both versions.

  1. Create a new project.

  2. Make the following blueprint. alt text

  3. Check the value with UDK Remote. (If you are using UE 4.13, go to Settings -> Project Settings -> Slate Remote, and check Enable Remote Server.)

  4. Build iOS project (Some basic settings are necessary. Settings -> Project Settings -> iOS -> Mobile Provision and Bundle Information.)

  5. UDK Remote's Rotation Rate X = actual iPad's Rotation Rate Z

UDK Remote's Rotation Rate Z = actual iPad's Rotation Rate -X

This bug is very frustrating because I would like to develop an app which uses iPad's rotation.

Product Version: UE 4.13
Tags:
more ▼

asked Oct 11 '16 at 10:31 AM in Bug Reports

avatar image

Kakushi_52
18 2 6 7

avatar image ImVawx ♦♦ STAFF Oct 11 '16 at 05:47 PM

Hey Kakushi_52,

Can you show me where you are getting the "actual" iPad rotation values?

Thanks.

avatar image Kakushi_52 Oct 13 '16 at 01:28 AM

I just pressed Launch button next to Play button in the editor, and UE4 built the ipa file for iOS, and automatically installed the file to the actual iPad. The following screenshot is taken from the actual iPad. I checked the "actual" iPad rotation rate on iPad's screen. alt text

Thanks.

img_0298.png (1.9 MB)
avatar image ImVawx ♦♦ STAFF Oct 13 '16 at 12:49 PM

Hey Kakushi_52,

I mean, how are comparing these values:

 UDK Remote's Rotation Rate X = actual iPad's Rotation Rate Z    
 UDK Remote's Rotation Rate Z = actual iPad's Rotation Rate -X

Furthermore, you can simply do this:

alt text

504519_iosrot.png (48.0 kB)
avatar image Kakushi_52 Oct 18 '16 at 04:19 AM

I am so sorry for my late reply. Could you please try this? This makes the problem easier to understand.

alt text

As you told, multiplying z by -1, and swapping x and z solve the problem but I have to change the blueprint whenever I develop via UDK remote and on the actual iPad.

(comments are locked)
10|2000 characters needed characters left

2 answers: sort voted first

I had thought that all the differences from UDK Remote had been fixed up. If you have access to code, the place to fix this properly is in FSlateRemoteServer::ProcessMotionMessage() or FSlateRemoteServer::ProcessTiltMessage() (I forget now which one is used by most recent UDK Remote).

more ▼

answered Mar 31 '17 at 12:02 PM

avatar image

joshbadams STAFF
1.3k 19 7 46

avatar image Kakushi_52 Apr 05 '17 at 02:57 PM

Thank you for your comment. Yes, I think this bug has been fixed up at UE 4.14. By the way, is UDK Remote the only 'helper app' to develop mobile apps with UE? It hasn't been updated for a long time, and we can get only a few sensor values with UDK Remote.

(comments are locked)
10|2000 characters needed characters left

Hey Kakushi_52,

Thanks for the detailed report. I was able to reproduce the issue you've described and have submitted a issue report for it. You can follow it here:

https://issues.unrealengine.com/issue/UE-37612

The best option until this bug is fixed is to flip the axis and multiply by -1 when switching from testing with UDK Remote and testing and the device.

more ▼

answered Oct 20 '16 at 08:52 PM

avatar image

ImVawx ♦♦ STAFF
6.7k 114 17 127

(comments are locked)
10|2000 characters needed characters left
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