Answered

Trick to modify posture

Anonymous 4 years ago updated by Peter - Soxware Developer 4 years ago 3

Hi. I have an "idle crouch" animation and the camera in my game gives me the right position when crouching.

I also have a "crouch walk forward" animation but the posture is a bit higher than the idle one, so the camera goes up.
I don't want to modify the height of the camera of course. I need to modify the posture of the "crouch walk forward" animation to have the same height as the "idle crouch" animation.
I tried to copy and paste the hips position in all of the frames but then the feet goes under the ground. But I can't really just modify the position of the feet to touch the ground because in some frames the need to be in the air, however I don't know in which frames they need to go in the air because when I change the hips position it goes under the ground.

Is there an easier trick to modify the posture for the purpose I want? I'm using uMotion pro 1.26. Unity 2020.3.5.

Regards

Answer

Hi,

thank you very much for your support request.

With the help of IK Pinning you can keep the feet at their current floor position while adjusting the hips height:


  • First convert the animation from FK to IK by clicking on "Edit --> Convert FK to IK". Start by only converting the legs to IK to not sacrifice the arm animation quality.
  • Move the frame cursor to the first frame.
  • Select the IK handles of the feet and make sure that "IK Pinned" is checked and that the "FK/IK Blend" channel is set to 1 (= IK).
  • If you now modify the hips, the feet stay in place.
  • You can use an additive animation layer to offset the hips across the whole animation.

A lot of this stuff is covered in this video tutorial:


Here is the dedicated IK Pinning tutorial:


Please also note that the root motion settings of the exported animation clip have great impact on how your animation is offset:

It might make sense that you enable the "Bake Into Pose" setting of the "Root Transform Position (Y)". Btw. you can also use the offset field here to offset your animation (but this also moves the feet).

Best regards,
Peter

Answered

Unity animator overriding blendshapes

Roy 4 years ago updated by Peter - Soxware Developer 4 years ago 3

On my character I have Blendshapes for character creation such as Big_Nose, Little_Nose and also blenshapes for Realtime Animating like Smile, Frown etc.

In my character creation code I set the blendshapes (SetBlendShapeWeight) for the character Big_Nose etc.


The problem is the Animator overrides the Big_Nose setting it back to zero


How can I prevent this from happening?




Answer

*** SOLVED ***



it's 4am fortunately I noticed one of the character creation blendshapes wasn't getting reset by the animator, long story short that blendshape didn't have a key at the start in Umotion. So I simply made sure that all the character creation blendshapes have no keys at all.

Thanks Peter for providing the facility for me to ask my question, Umotion is by far the most Professional Asset I own and I own alot. if you search for the top rated assets I have just about the first 3 pages and many more.

Cheers

Roy

Answered

No "Animator" or "Animation" component found

Koppulah 4 years ago updated by Peter - Soxware Developer 4 years ago 6

Hello, I am trying to convert a Legacy Animation to Generic following the Tutorial steps. But when I duplicate the (Legacy) Asset and make it Generic (Apply) in the Rig Inspector, the AnimConverter still has an issue with it as an Output file and will not convert. The error (Exclamation, red) reads: No "Animator" or "Animation" component found. What went wrong? Thanx.

Answer

Hi,

thank you very much for your support request.

Looks like Unity did not add a "Animator" (generic) or "Animation" (legacy) component to your character. The reason might be that "Import Animations" is not enabled in the "Animation" tab (Inspector) of your character. Please also double check that the rig type is set correctly (in the rig tab).


To verify that your character is setup correctly, drag & drop your character into the scene and see if it has an "Animator" component assigned to it.

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

Best regards,
Peter

Answered

How to set up custom IK

Anonymous 4 years ago updated by Peter - Soxware Developer 4 years ago 1

I have a simple chain of bones: Joint1>Joint2>Joint3 (generic)
I want to set up a simple IK but can't figure out how it works. Every combination of Target and pole target gives strange results.

Answer

Hi,

thank you very much for your support request.

  1. Create a new custom transform that is NOT a child of any of the joints you are trying to control via IK. This transform is going to be your IK handle.
  2. Assign the IK constraint to your IK handle transform.
  3. Select Joint3 as IK target.
  4. [Optional] If you want to use a pole target, create a new custom transform again that is NOT a child of any of the IK controlled joints. Assign it as pole target to the IK constraint.
  5. Make sure to setup the IK plane (the blue arrow) in such a way, that it points in the direction you want your IK chain to bend. For an arm for example, the arrow should point towards the elbow.


More information can be found in the manual (click on the black info button in the IK constraint to quick jump to the related page) or in the second part of this video tutorial:

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

Best regards,

Peter

Not a bug

Bugs on Unity 2021.1.11f1 for version 1.26p03

Fitransyah 4 years ago updated by Peter - Soxware Developer 4 years ago 6

Hi there,

Its me again, sorry for troubling you.


So after posting a bug report on my previous post.

I revisited my project that still using previous version 1.26p03.

Everything look okay only I've notice the cube for IK handle its not rendering.

Both on config and pose mode.

As well the custom transform that I created last time, 


but the IK its working perfectly, but its hard to pick the handler without seeing the visibility shape.

I think it has someting with the Scene window again.

Here I've tried to create custom transform and set visibility and shape to try things out :

Image 914

Image 915

Image 916

Please let me know if you have any solution for this.

I'm quite affaraid to update to new version, since I found another bug which is more difficult than this one.

(See my other post)

Thank you.

Regards,

Fitransyah

Not a bug

Bugs after Updating this to version 1.26p04 - released on September 16, 2021

Fitransyah 4 years ago updated by Peter - Soxware Developer 4 years ago 3

Hi,

It's been a month I'm not using U-Motion Pro.

After updating to latest version, I re-import the assets to my new project.

But once I start using I find out few changes :

U-Motion not recommend to set up the IK automatically, but still doable from config mode.

I found few bugs spesifically related to U-Motion functionality in Scene window


1. The tool muscle group some times not interactive, its hard to select.

Sometimes it works but most of the time I'm having hard time to select it.

The sliders, the tabs and the window itself.

Image 910

2. some of the foot FK and IK bones are acting the same way

almost impossible to select or click from the Scene.

this behaviour found on :

Lower Leg FK

Foot FK and below

IK Foot handler

IK Knee pole hanlder


However its still possible to select from the dopesheet (animated properties list) 

But still its giving hard time :(


Image 911

Image 912

3. I'm not sure if this normal thing in previous version but if you have answer, please share what does this mean?

Image 913

4. As mention in number 2 before, theres not much I can do in config mode as you know the dopesheet properties are not accessible from config mode, so there's no way to make custom bone and additional contstraint from config mode.

That's all please let me know if you have any question, maybe I can send you a screen recording if you need more details.

Btw, I've tried to close and restart the project as well deleted and re-import the assets but no luck.

Thank you.

Best Regards,

Fitransyah

Answered

Manipulating external objects

thecodehermit 4 years ago updated by Peter - Soxware Developer 3 years ago 4

Hi I am wondering how to go about manipulating external objects from my character. Lets say I have a rigged character and I want him to grab and take an orange and then throw it towards something else. What will be the best way to do that ? For the moment I have been using sort of a cheat, by integrating the objects as part of the character model, though I cant use that for every random object in the future. 

Answer

Hi,

thank you very much for your support request.

So first of all, in Unity animation files can only address objects that are a child of the Animation/Animator component. In other words, you can't access objects that are lying around in your scene directly from within your character's animation.

So in every case, this involves  scripting and can't be done purely with pre-made animations. There are simple ways and more complex ways to implement a pick-up system depending on what level of quality you want to achieve. An easy way would be to create a pick-up animation that is rather generic in which the character just picks into the air. Using animation events you can trigger a "pick-up" script in the right moment . This script then checks if there is an object that is "pick-up able" nearby and if so parents it to the players hand.

More sophisticated approaches would use runtime-IK to adjust the pre-made animation to always reach exactly to the object no-matter the current player offset. You could also add different grab-poses per object... As you can see, this can get rather complicated very quickly.


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


Best regards,

Peter

Not a bug

Tool Assistant not visible (Unity 2021.2)

Stephen Woolcock 4 years ago updated by Peter - Soxware Developer 4 years ago 7

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 4 years ago updated by Peter - Soxware Developer 4 years 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 4 years ago updated by Peter - Soxware Developer 4 years 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