How to precisely align (superimpose) a 3D hologram over its real-world object in Unreal Engine (HoloLens 2)

Hi everyone,

I’m currently developing an AR experience with Unreal Engine targeting HoloLens 2, and I need to precisely align a virtual hologram with its real-world counterpart (e.g., a physical machine or model).

1 Like

I’m going to assume that you don’t want to make the user manually align the hologram them selves. BTW, that approach would be pretty easy.

So then what you want to look at it object candidates and object detecting. I’m not familiar with this on HoloLens, but i think it would be similar to iOS or Android. You need to create the object target and then load it into the AR session config and then when it “sees” the object you can spawn your hologram object at that location.
I’m skipping a lot of steps but that’s the basic idea.
-e