Is it possible to get the HMD data of hololens2 even while playing remotly?

혜진 서 91 Reputation points
2023-07-25T13:39:13.9166667+00:00

I need to get the location of camera without using the pawn.

I found the blueprint fuction that is "get the HMD data"

but by using this, I always get the only "0,0,0" value in location.

or do you have any other way?

HoloLens Development
HoloLens Development
HoloLens: A family of Microsoft self-contained, holographic devices that enable engagement with digital content and interaction with holograms in the surrounding environment.Development: The process of researching, productizing, and refining new or existing technologies.
396 questions
0 comments No comments
{count} votes

1 answer

Sort by: Most helpful
  1. Zuocheng Wang - MSFT 3,091 Reputation points Microsoft Vendor
    2023-07-26T06:01:10.8966667+00:00

    Hello, Welcome to Microsoft Q&A,

    If you're talking about the position of the HoloLens device. Usually, we will get it by accessing the position of the Pawn Actor, since you mentioned that you don't want to use Pawn, it is recommended that you ask Unreal if there is another way. As for the APIs in Unreal for getting HMD data, I'm not an expert on Unreal. It is recommended that you ask Unreal if these APIs support HoloLens 2, and if they support Holographic Remoting.

    If you're talking about the P/V camera in HoloLens 2. It does not support Holographic Remoting, please refer to HoloLens Photo/Video Camera in Unreal - Mixed Reality | Microsoft Learn.


    If the response is helpful, please click "Accept Answer" and upvote it.

    Note: Please follow the steps in our documentation to enable e-mail notifications if you want to receive the related email notification for this thread.

    0 comments No comments

Your answer

Answers can be marked as Accepted Answers by the question author, which helps users to know the answer solved the author's problem.