character controller

if i have an xrorigin rig that moves with a character controller and if i disable and re-enable the controller will the avatar model lose track of it
2 Replies
kapa.ai5d ago
Hi @Lost Wizard Corp.. I'm, your friendly support bot. I will try to answer your question by searching through the knowledge base. :wave: ---------------------- If you are using a character controller to move your XR rig and you disable and re-enable it, the avatar model should not lose track of it as long as the avatar is properly set up. In NormalVR, the avatar setup should be wired up to the RealtimeAvatarManager's Root, Head, and Hand transform inputs. This ensures that your RealtimeAvatar instance matches the transforms of your XR rig instead of using the default Unity XR APIs [source (]. However, if you are experiencing issues, it might be due to the way your avatar is set up. All avatar prefabs that are used with RealtimeAvatarManager need to include a RealtimeAvatar component on the root of the prefab. The RealtimeAvatar component is responsible for synchronizing the head + hands positions and active states [source (]. If you are still having issues, you might want to check if the root RealtimeView is set to destroyWhenOwnerLeaves by default. If you change this value, or if you clear the owner of the avatar itself, then it will not be cleaned up properly by the server [source (]. If you are creating a multiplayer game, you might also want to check out the guide on creating a player controller in NormalVR, which includes information on how to make it multiplayer [source (]. ---------------------- Note: you can ask me a follow up question by @ mentioning me again :speech_balloon: ----------------------
kapa.ai5d ago
<@1220362612794069042> is still learning and improving, please let us know how it did by reacting below