Forum Discussion
j0schm03
4 years agoExplorer
Proper Way to Load Remote User Avatar
I'm working through the next phase of a multiplayer VR experience using the Meta Avatars2 SDK and Photon. I'm struggling to understand a key concept. That is, how to load the remote users Avatar. ...
Anonymous
4 years agoThanks, j0schm03 for your question and answer. It's really helpful.
I have some questions. Let's consider Player1 and Player2.
When Player 1 joined the game, save the UserID of player1. After Player2 joins, we have to pass that Player1 userID in-network to instantiate so, the actual avatar of Player1 will be visible to player2. Am I correct?
Can you please let me know what changes you have done in SampleAvatarEntity_cs, I understood one is in Awake you have set IsLocal as per pv.isMine or not. Any else changes have you done? Where to pass UserID of the remote avatar inSampleAvatarEntity_cs script?
j0schm03
4 years agoExplorer
I ended up scraping the sampleavatarentity script all together. Check out this thread here: https://forums.oculusvr.com/t5/Unity-VR-Development/Meta-avatar-2-multiplayer/m-p/942968/highlight/true the code sample there got me working!
- Anonymous4 years ago
Ok, I will check the thread you mentioned. Thanks for your quick response.
Quick Links
- Horizon Developer Support
- Quest User Forums
- Troubleshooting Forum for problems with a game or app
- Quest Support for problems with your device
Other Meta Support
Related Content
- 9 months ago
- 4 months ago
- 2 months ago
- 10 months ago