UPC-ViRVIG / MMVR

Repository for the SCA 2022 paper "Combining Motion Matching and Orientation Prediction to Animate Avatars for Consumer-Grade VR Devices"
https://upc-virvig.github.io/MMVR/
Other
61 stars 7 forks source link

How to change the player's self-avatar model? #10

Closed Timkeeper2018 closed 5 months ago

Timkeeper2018 commented 6 months ago

I saw that in the paper you gave a code for loading BVH animation, but is it a possible operation if I want to replace the character model? I've tried swapping before, but the movement gap between the character models was too big.

JLPM22 commented 5 months ago

It should be possible as long as the new character model is also imported as humanoid in Unity. The idea is that Motion Matching is running using the BVH's skeleton, but then the class MotionMatchingSkinnedMeshRenderer will handle the retargeting to Unity's humanoid system. Maybe there is some problem in the retargeting process, there are some public fields that should be adjusted depending on the model. I would need more details to try to understand the problem

Timkeeper2018 commented 5 months ago

That is what i need,thanks a lot