yukihiko / ThreeDPoseUnitySample

Unity sample of 3D pose estimation
362 stars 76 forks source link

How to retarget the animation from Unity-chan to another 3d model. #9

Open GeorgTsabou opened 4 years ago

GeorgTsabou commented 4 years ago

Hi, thank you for your hard work on this implementation! I wanted to ask you how can somebody replace Unity-Chan with another 3d model and have the same results in the animation? Until now, I have tried 3 models (one from Mixamo and two from the Asset Store). I observed that you have put some cube gameobjects (Nose, abdomen etc) in order to probably fill the skeleton with missing bones(?). Anyway, I tried to do the same with the models, the animation succeeds but unfortunately they have some glitches in specific body joints. Also one of them could not even get the animation, cause the parser could not find any body joint. If you need more information to understand I can provide you with some screenshots and more specific details. Best regards.

yukihiko commented 4 years ago

Thank you. If there is no middle finger, thumb, or toe, an error will occur and it will not move. Please add these bones or comment out the relevant part of the code. However, since the direction of the palm is determined by the middle finger and thumb, the movement of the palm will be strange without this. Also, disable the 3D model Animator component. It will not work if it is active or not added. In addition, if there are animation-related components, they may not work. Best regards.