Answered

How to have a fixed bone position?

Hata 2 weeks ago updated by Peter - Soxware Developer 2 weeks ago 1

I have models with multiple height. Is there anywhere I could set the pelvis bone at a fixed local position in Clip Editor? Right now the taller model is kind of floating in the air when sitting on a chair.

Image 1496

UMotion Version:
1.29p03
Unity Version:
2022.3.15f1

Answer

Answer
Answered

Hi Hata,
thank you very much for your support request.

Try to play with the "Root Transform Position (Y)" settings (shown in the inspector when having the exported *.anim file selected):

Image 1503



As a last resort you could also get a desired effect using scripting: In your script, compare the actual pelvis height with the desired height and offset the whole model on the y axis to compensate. You can ease-in/-out the effect of the script during the sit down/stand up animation using a custom animation curve in your sit down/stand up animations.

Best regards,
Peter

Answer
Answered

Hi Hata,
thank you very much for your support request.

Try to play with the "Root Transform Position (Y)" settings (shown in the inspector when having the exported *.anim file selected):

Image 1503



As a last resort you could also get a desired effect using scripting: In your script, compare the actual pelvis height with the desired height and offset the whole model on the y axis to compensate. You can ease-in/-out the effect of the script during the sit down/stand up animation using a custom animation curve in your sit down/stand up animations.

Best regards,
Peter