Hi I am working on this demo GitHub - Conv-AI/RPM-Lipsync to integrate with my own avatar and succeed, but now I want to use the reset session icon to do the switching between different avatars. I used a dynamic variable to store the reset session click counts (this update works well) and found that in order to switch between different avatars I only need to change character ID in App.jsx and imported .glb file in the anita.jsx file in models folder, but I can not do this successfully, I wonder how can I do it smartly or if I missed somewhere to update when the clickcounts is increasing? The following three pictures are the parts according to changed codes
1 Like
Thank you! looking forward to your reply!
Instead of dynamically changing the models link try creating few jsx model files and switch between components instead based on clicks.
This topic was automatically closed 30 days after the last reply. New replies are no longer allowed.