Working on fix

Tool Assistant not visible (Unity 2021.2)

Stephen Woolcock 2 days ago updated by Peter - Soxware Developer 17 hours ago 1

I've installed UMotion into a new, relatively clean project in Unity 2021.2.0b8. Everything is working great, with the exception of the Tool Assisnt not being visible in the scene view. Toggling it on and off via the display settings group does nothing. There are no errors or warnings. It is just not visible - I suspect it is possibly being drawn off-screen? Is there a way to manually modify its position in a settings file or asset?

Answered

Leaning While Running and Climbing

Michael L Croswell 5 days ago updated by Peter - Soxware Developer 17 hours ago 2

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

Answered

Removing duplicate keys

Anonymous 2 weeks ago updated by Peter - Soxware Developer 1 week ago 1

Is there a way I can have UMotion remove duplicate/redundant keys within a clip?

Answer

Hi,

thank you very much for your support request.

Unfortunately there is currently no way to automatically remove duplicate/redundant keys.

Please let me know in case you have any follow-up questions.

Best regards,
Peter

Answered

Child-of looks perfect in Umotion but looks differently in Unity Timeline

Sang Hendrix 2 weeks ago updated by Peter - Soxware Developer 1 week ago 1

Hi guys. So I'm creating an animation of a character holding a gun. It looks perfect in Clip Editor but when I exported to Anim file and ran it on Unity Timeline, it looked like the second pic. The gun was off position and I don't know why.

Clip Editor

Unity Timeline

Answer

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

The child-of constraint only "fakes" changing the parent by generating key frames that make the pistol act as if it's a child of a different parent. (This is needed because it's technically not possible to alter the parent/child relationship from within an animation.) This "fake" works as long as the real parent isn't moved to a different spot than it was while exporting the animation. It's also necessary that your hand is in the same spot again in the exported animation. If your character uses the humanoid animation system, it is not guaranteed that your hands end up in the same spot (due to the re-targeting algorithm of humanoid).

Maybe you are using an override layer in your timeline that alters some of the pre-baked positions? When you play the exported animation directly on your character (not using Unity Timeline, does it work then)?


My recommendations:

If you're using humanoid, I recommend using "generic" instead. Generic is playing an animation 1:1 as you've authored it while humanoid uses animation re-targeting which only "approximates" your authored animation (here's a good explanation how humanoid works: https://blog.unity.com/technology/mecanim-humanoids).
Using humanoid will give you lots of headache if your trying to do precise hand interactions that are close to the camera (thus very visible to the viewer) because humanoid's "lossy" nature (due to the re-targeting) introduces lots of small position errors.

To switch to generic, simply duplicate your source character. Configure it as generic. Create a new UMotion project of type generic for your generic character. Import the old humanoid UMotion project file (the *.asset file, not the exported animations!). This results in a new project of type generic with all your previously created animation. Export the animations and use them on your generic character.

Let me know in case you need any further help.

Best regards,
Peter

    Answered

    IK Pinning on elbows or knees

    Anonymous 2 weeks ago updated by Peter - Soxware Developer 1 week ago 4

    Hi,

    Is there any way to pin the elbow or knee instead of the and or foot?

    Regards,

    Scott Hong

    Answer

    Hi Scott,

    thank you very much for your support request.

    Yes, you would need to setup an IK chain that only includes the upper arm/leg. The IK handle would then define the elbow/knee position (instead of the wrist/ankle position). As the IK setup is UMotion project wide, I recommend that you do this in a separate UMotion project (in order to not destroy the regular IK setup probably used by other animations in your UMotion project).

    For more information on how to setup IK chains manually, please follow the second part of the IK video tutotrial:

    Here's how to setup IK pinning:

    Please let me know in case you have any follow-up questions.

    Best regards,
    Peter

    Answered

    IK Pinned

    Anonymous 2 weeks ago updated by Peter - Soxware Developer 2 weeks ago 2

    Hi,

    I'm trying to modify a crawling animation.

    In certain frame area, the hand must remain stationary, with no change in position and rotation.

    I think it can be done using IK Pinned option.


    It works, however the position and rotation of the hand are fixed only when all the backend keys are removed.

    For the next animation, IK Pinned option must be released again after some frame area.

    Isn't it possible only work in a specific frame section?

    Regards,

    Scott Hong

    Answer

    This problem is resolved. I replied it before, but it was not saved.

    Answered

    Hide blendshapes in clip editor?

    Esska 2 weeks ago updated by Peter - Soxware Developer 5 days ago 9

    My models has always a lot of blendshapes (sometimes > 100), which are all bound on the head and are used in my animations. But when you are focused on the skeleton, this blendshapes forces you to scroll up and down all the time. Is there a way, to hide them temporary? If not, maybe an additional filter option would be nice for this 4 types (IK, position, rotation, "plus")?

    Answer

    Hi Esska,

    thank you very much for your support request.


    If you want to hide the blend shapes, go to config mode and select the bone that contains the blend shapes (the head bone in your case). Then under "Properties" set "Visibility" to "Lock". Don't forget to unlock the bone once you're done.

    But when you are focused on the skeleton, this blendshapes forces you to scroll up and down all the time.

    The intended workflow when working with UMotion is to do your selection work in the scene view. As soon as a bone/transform is selected in the scene view, the according animated property is automatically highlighted in the clip editor. This is usually much faster than doing it the other way around (selecting properties in the clip editor).

    Please let me know in case you have any follow-up questions.

    Best regards,
    Peter

    Answered

    adding objects to rig after configuring the rig

    TropicZ 2 weeks ago updated 1 week ago 4

    Hello,

    I have a rig I have already configured, and I now want to attach an object to the hand of my rig and use it as a constraint. However I am unable to add it, or am I missing something? I have tried to set it as a child (not possible), tried adding a constraint and attaching it to it but no luck there as well. Any ideas are welcome, I hope my question is clear :)

    Answer

    Hi,

    thank you very much for your support request.

    While a character is assigned to the pose editor, it is locked by UMotion for any external (i.e. outside of UMotion) changes. So in order to add an additional child object to your character, you first need to un-assign the character from the pose editor by clicking the "clear" button:

    You can then add the object as a child to your character. Then assign the character to the UMotion pose editor again. The child object is then automatically added to your UMotion project configuration.

    Please note that if your character is of type humanoid, none-humanoid bones/tranforms need to be manually released for animating. You can do this by going into config mode, select the transform from the rig hierarchy list. Then under properties, set visibility to "Show".

    Please let me know in case you have any follow-up questions.

    Best regards,
    Peter

    Answered

    Is it possible to add child of constraint to IK handles?

    Yokenstein 3 weeks ago updated 3 weeks ago 2
    The object (sword) needs to be grabbed onto by 2 hands. I have the game object parented onto one of the hands (not via Umotions parenting system), but I want the other IK handle/hand to stick to the game object, rather than me trying to manually keyframe animate the correct positions of the hand. Is this possible?
    Answer

    Hi Shayan,

    thank you very much for your support request.

    Yes this is possible. If you have setup your IK chains with the IK setup wizard, a child-of constraint was automatically added to each IK handle but it's in IK pinning mode. Disable the IK pinning mode in the child-of constraint setup (in config mode). This replaces the IK pinning toggle button with the regular "parent" field that allows you to select any arbitrary parent.

    If you've setup your IK chains manually, you can just add a child-of constraint to your IK handles manually (in config mode).

    More information about the child-of constraint and IK pinning can be found in the following two video tutorials:

    Please let me know in case you have any follow-up questions.

    Best regards,
    Peter

    Answered

    question before buying

    Matteo Sirizzotti 3 weeks ago updated by Peter - Soxware Developer 2 weeks ago 3

    Hello


    I am considering to buy the plugin right now but i have a question. I'll try to be as straightforward as possible:


    • Let's assume that i have a scene with some stairs inside
    • i have a rigged character in the scene
    • i have a root motion walking animation downloaded by mixamo
    • i want to use that animation in timeline and i want to modify the animation to have the character walk towards the stairs using that animation and the i want him to climb the stairs modifying the animation (root motion animation)

    The simple question:

    Is this feasible through UmotionPro??

    If yes, is there any tutorial that covers something similar??

    Thanks a lot to everybody.

    Cheers

    Answer

    Hi Matteo,

    thank you very much for your support request.

    Yes that is possible, I would do it as follows:

    1. Create the Unity timeline sequence and make the character walk to the stairs using your existing walking animation.
    2. Create a new UMotion project for your character and import the walking animation.
    3. Rename it to "stair climbing" or something like this and export the animation.
    4. Place the "stair climbing" animation in timeline right after the walking animation.
    5. Select the "stair climbing" animation in Unity Timeline and in UMotion click on Sync --> Unity Timeline --> Edit Selected Clip. UMotion now previews the animation in context of the whole Unity Timeline (using the position/rotation offsets set in Unity Timeline).
    6. You can now adjust the step heights (I recommend using IK for that purpose, you can convert an existing animation clip to an IK clip using UMotion) and the hips movement direction to match the stairs. You have the choice of creating one cycle and then loop the animation until the end of the stairs is reached, or you duplicate the animation a few times in UMotion to create a "climbing whole stairs" animation.

    There is no tutorial that covers this use-case in particular. As this use-case requires quite a lot of different systems and knowledge working together, you might want to start with something simpler and then progress to this more difficult use-case. But that's up to you.

    Here you have the getting started video tutorial that covers the basics of UMotion:

    Here is a longer tutorial where I'm using UMotion to edit an existing animation. It also uses the convert FK to IK feature I mentioned above:

    Here is a short demonstration of using UMotion together with Unity Timeline (you can also check the manual's page "Unity Timeline Integration" for a more detailed explanation of the sync feature):

    You can find a nice overview of all available video tutorials in the "Video Tutorials" chapter of the UMotion manual. If you have any questions, let me know.

    Best regards,
    Peter