Forum Discussion

🚨 This forum is archived and read-only. To submit a forum post, please visit our new Developer Forum. 🚨
JeffS_Pulse's avatar
JeffS_Pulse
Honored Guest
3 years ago

Meta Avatar Characters as NPCs

Hello,

I am developing a VR app in Unity. I was wondering if anyone has had any success or if it's possible to use the Meta Avatar SDKs as NPCs?

I integrated Avatars with user input with the Quest 2 just fine. However, I want to have some NPCs Avatar Models with custom animations for engagement. I haven't had much success extracting models/rigs from the SDK. Did anyone try this before? Would anyone be able to offer some guidance/insight?

Thanks

3 Replies

  • olaysia's avatar
    olaysia
    Expert Protege

    I think you should use the preset avatars they provide for the NPCs. Then use ovrAvatarEntity.RecordStreamData() to record some motions. Then use ovrAvatarEntity.ApplyStreamData() in a loop to apply those motions to the NPC avatars.

    • JeffS_Pulse's avatar
      JeffS_Pulse
      Honored Guest

      Ok, I'll talk to our developers to look into that and see if that works. Thanks for pointing us in the right direction. 

  • Were you able to get any more information on this?