Handheld AR template 4.19. World alignment

plastik21
Fri, 23 Mar 2018 11:36:43 +0000
Blueprint

Hi all!

I’m experimenting with world alignment feature in new handheld AR template 4.19.
And I can’t figure out what transform should I provide to SetAlignmentTransform node in order to move world origin to other spot. I’ve tried to provide inverse transform of a point (TraceResult) on tracked plane. This works for the first time. But then if click at different location on the same plane, world origin flyes far away. And all the rest clicks move world origin to incorrect spots. The same problem occurs if I provide non-inverse transform.

Also I’ve noticed that GetLocalToTrackingTransform and GetLocalToWorldTransform nodes of a TraceResult object always return identical transforms whatever alignment transform is set.
Is it bug or did I miss something? Where is the tracking space origin located and how it relates to unreal world space?

Any help would be appreciated!

7 posts - 4 participants