Jordan
Jordan
NNormal
Created by Jordan on 1/25/2025 in #🤝ask-a-question
Best practice for scene changing while connecting to a room
I'm making the title screen for my game rn, and the idea is that the user would enter in a room name in the UI, try to connect, and then change scenes to the game when the connection is successful. However, what is happening is that upon a successful connection, all the Realtime prefabs are spawned in the title screen scene and then promptly destroyed after changing scenes to the actual game scene. What is the way to fix this so that I can connect to the room in the title screen and the objects aren't spawned until after I change scenes? Ideally some way in the title screen to check if a room exists before connecting would be awesome, as then the logic for actually connecting can be done after the scene change. Is that possible?
23 replies
NNormal
Created by Jordan on 1/14/2025 in #🤝ask-a-question
Information about RealtimeAvatarVoice
Hey there, newbie to Normcore here, really excited to get going with this multiplayer package I've heard so much about. I'm making a multiplayer VR game, and I'd like to use the player's voice data to interact with OpenAI's realtime API for certain interactions. Looking at the RealtimeAvatarVoice page (Realtime API -> XR -> Voice Chat), no information is given about how to use the voiceData class member I can see in Visual Studio when searching through the components of RealtimeAvatarVoice. I see that voiceData is a float[], but any other info about it is a guess: the bit-depth, sample length, etc. I'm working towards converting it into something that OpenAI can parse but I can't do that if I don't have more information about it.
9 replies