I am working on a project where I want to import a ReadyPlayerMe avatar and then animate it. So far I have the import portion working and I am able to add the avatar to the scene. I am doing this all via JavaScript.
I am stuck on the animation part though. I’ve imported a Mixamo animation and if I manually add a character to the scene it is animated. What I want to do is apply the animation to my ReadyPlayerMe avatar after it is imported.
Initially I thought renaming the bones to match the Mixamo hierarchy would work, but that does not seem to work. I’ve done some Googling, but this is my first time working with PlayCanvas so I don’t know if the answer isn’t out there or if I don’t know enough to know what to be searching for.
How do I apply the Mixamo animation to the imported avatar via JavaScript? The bone hierarchy is the same (except for the names) so I think the animation should be able to transfer pretty smoothly in theory.
Project link: PlayCanvas 3D HTML5 Game Engine