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"

ARKit drift of position and poor tracking

Using the ARSample from the 4.17 blog as a sample, we set up our project to draw a character.

The ARSample scale of objects is pretty large so it is hard to see the drift. If you scale the objects down to 0.1 (like 6-8 inches tall) you will see they are not locked that well. There is some performance issues to it since if you set the object like the sphere to moveable so it is dynamically lit, it is much worse. This is a pretty simple scene.

Our scene has 1 skeletal mesh character and one object that acts as a mask (has the camera material on part of it).

With that it works but it looks like there is a several frame lag on the tracking with it drifting all over.

For reference, we have the exact skeletal mesh character on Unity ARKit and it is rock solid. No drifting really at all with the skeletal mesh dynamically lit and some effects.

Anyone have any tips for potential fixes for making the UE4 ARKit tracking more stable and reliable?

Product Version: UE 4.17
Tags:
more ▼

asked Sep 01 '17 at 10:17 PM in Bug Reports

avatar image

Jeff Lander
76 4 7 9

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

1 answer: sort voted first

I was told by Epic and Apple about the flag "ar.EnableLateUpdate," Turning this off significantly improves the tracking and removes the frame lag I was seeing.

more ▼

answered Sep 05 '17 at 04:41 PM

avatar image

Jeff Lander
76 4 7 9

avatar image gamescodedogs Sep 05 '17 at 08:44 PM

Awesome Jeff, thank you for sharing :)

avatar image GearWalker Sep 06 '17 at 09:05 AM

Where I can find the flag "ar.EnableLateUpdate"? In Blueprint or C++ code?

avatar image Jeff Lander Sep 06 '17 at 04:24 PM

It is a console cvar. You can set it in blueprint or in code (or in ini file).

avatar image Dr. Widgit Sep 28 '17 at 06:12 PM

You can also do a 4 finger tap to bring up the console and type "ar.EnableLateUpdate off".

(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