Leaning While Running and Climbing
Hello! I finally have some time between my programming jobs to work again with UMotion Pro and wondered:
1) Do you have (or know of) any tutorials showing how to lean characters when running or climbing? I want to blend a lean and have the lean based on speed and the sharpness of the turn. Also, for walking up/down stairs want to lean toward the slope somewhat.
2) If not, do you have any suggestions to an approach?
Thank you for a great tool, too!
Answer
Dear Michael,
thank you very much for your support request.
As the amount of the leaning is dependent on the current runtime situation, you can't do this in a static animation file (otherwise the leaning amount would always be the same). Thus using UMotion Pro for this won't work. I haven't done something like this myself yet, but I think your best bet is to do this via code in your character controller.
A quick search gave me this video tutorial which might be helpful:
Please let me know in case you have any follow-up questions.
Best regards,
Peter
Oh sorry I wasn't watching the whole video so wasn't aware that it is using a third-party asset. Yes, doing it with a "leaning" layer in the animator controller should work. I wish you all the best for this project, I'm sure you're going to learn a lot doing this on your own.
Best regards,
Peter
Customer support service by UserEcho
Dear Michael,
thank you very much for your support request.
As the amount of the leaning is dependent on the current runtime situation, you can't do this in a static animation file (otherwise the leaning amount would always be the same). Thus using UMotion Pro for this won't work. I haven't done something like this myself yet, but I think your best bet is to do this via code in your character controller.
A quick search gave me this video tutorial which might be helpful:
Please let me know in case you have any follow-up questions.
Best regards,
Peter