Answered

Additive Difference

Carpetcrumb 3 years ago updated by Peter - Soxware Developer 3 years ago 5

Hey there, I am looking for a way to add the difference of two poses to the Additive layer. The thought behind this is, I have an idle animation, and I have a take-damage animation. They are nearly identical, except the arms are improperly positioned on the latter. What would correct this is if I could add an additive layer to the second animation, adjusted until the first frame matches the starting frame of the idle animation. This way the fist and last frames of both animations match each other and the take-damage animation still plays relative of its base layer. Copying the keys from the base layer to an additive layer of course does not work, and overriding the pose of the arms will mean his arms wont move relative of the base layer. Am I missing something? Is there another way to go about this? Thank you.

Answer

Hi,

thank you very much for your support request.

Your thinking is correct. While there is no automated way to get the difference, you could do it manually:

  1. Copy the keys of the target pose from the first animation (idle) and insert it as frame 0 in your second animation (take damage). If you only want to manipulate the arm pose, copy only the keys of the arms.
  2. Add an additive layer and open it.
  3. Set the frame cursor to frame 0 and create key frames for all arm bones (with no changes).
  4. Set the frame cursor to frame 1 and adjust the pose until it's in-line with frame 0. You might need to jump back and forth between frame 0 and frame 1. I would suggest using "Auto Key" in "Generate" mode to automatically key your changes, so that you don't have to manually create keys every time you go back to frame 0.

I hope this helps. Let me know in case you have any follow-up questions.


Best regards,
Peter

Answered

Suggestions for adding user-friendly buttons.

Two Comet 3 years ago updated by Peter - Soxware Developer 3 years ago 1

When the Clip Editor window is closed. In the Pose Editor, add a button to open the Clip Editor below the warning text.

Conversely, even when the Pose Editor window is closed, it would be nice to be able to open it with a button in the Clip Editor window.

Answer

Hi,

thank you very much for sharing your idea. I really appreciate that.

I do like the idea and have put it on my to-do list to implement this in the future.

Don't hesitate to let me know in case you have any questions or further ideas.

Best regards,
Peter

Answered

Char is like floating after edit

Loudo 3 years ago updated by Peter - Soxware Developer 3 years ago 1

Hello after edit arms and export  the char is like floating ... any idea why? thx^^

Floating Video

Answer

Hi Loudo,

thank you very much for your support request.

This looks like wrong root motion settings. Please check the root motion settings of the exported *.anim file and of the "Animator" component of your character. You need to make the correct settings (that fit to your animation setup) there.


As I don't know enough about how you use the animation system, it's a bit hard for me to guess what the correct settings would be in your case. Try setting "Root Transform Position (XZ)" to "Original" and enable the "Bake Into Pose" setting.


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

Best regards,
Peter

Answered

Using an animation event handler with the AnimationEvent parameter in code

Nightkin 3 years ago updated 1 year ago 4

Hello Peter,

First of all, thank you for this great product, UMotion Pro makes it so much easier for me to author animations quickly in Unity rather than using Blender (although I miss the ability to use NLAs, if you ever want to add a new big feature, that would be a good candidate *wink* *wink* *nudge* *nudge*).

It seems that since Unity 5, we are able to write an animation event handler method in the code with an "AnimationEvent" parameter instead of an int, string or float. This is great for blended Animators so you can finally know what animation clip sends the event, and more importantly, what weight is the Animator layer at that time. That way, when your Animator uses a blend tree, blending between two "walk" animations, for example (one slow and one fast, or a walk and a run, or whatever you can think of), you can decide what sound to play and no longer have two sounds play at the same time, or at least the same code being run twice. This information comes from MecanimDev himself : https://forum.unity.com/threads/mecanim-5-blend-tree-animation-event-called-twice.318747/#post-2071893 (yes that post is 7 years old).

However, UMotion Pro does not seem to offer that option yet. It is possible to do it, but we get a small warning icon on the animation event in the UMotion Clip Editor because it wants either a void, or an int, or a float or a string. In practice, the handler still does its job so this is not really a problem, but the warning icon is a bit distracting.

Would it be possible for UMotion to detect whether the name of the function we write in the animation event window matches an event handler with the AnimationEvent parameter so it knows we really mean to use that function and this is not a typo please?

PS: When looking at the About window, I saw Pärtel in the Special Thanks section, which is nice except his name is "Lang", not "Lange" :)

Answered

Fliegende Füße, Körper bewegt sich komisch nach Export

Dustin 3 years ago updated by Peter - Soxware Developer 3 years ago 2

Hallo!
Nachdem ich die Animation Exportiert habe, und die Scene abspielen lasse, ist mein Character nicht mehr in Sync mit der Animation. Woran liegt das?

Image 1108

Im Clip Editor beim Abspielen des Clips funktioniert alles so wie es soll.

Image 1109

Answer

Hi,

thank you very much for your support request.

Great to hear that you've been able to fix this issue.


If possible, please ask questions in English in the future :-) This makes it easier for others to learn from existing questions/answers.


Best regards,
Peter 

Answered

Does Umotion have constraints like Aim (joint aiming at other joint) and locking individual rotation Axis?

strange_aeons 3 years ago updated by Peter - Soxware Developer 3 years ago 3

i have a question regarding uMotion, i have some characters that require some joints to only rotate in one axis and another joint to always aim at another joint. arms such as these dont work properly without some axis restrictions

Image 1104

Answer

Hi,
thank you  very much for your support request.

arms such as these dont work properly without some axis restrictions

Do you have problems setting up IK in a way that it doesn't rotate parts on the wrong axis?

You might not have setup IK in a way that it ignores none relevant bones. For the upper arm for example, the IK should only control the bending of the elbow part. Remove any other bones from the IK bone chain (you can do this by selecting the IK handle in config mode).


Is the purpose of the axis limitations to avoid accidentally rotating parts of your character's body on a wrong axis?

If that's your intent, just make sure to always use the rotation tool in "local" mode. Rotate only around the axis that are meaningful.

When using "Euler" rotation mode, you have the option to check the curves view of your body parts in a final step. If the curve of a rotation axis you shouldn't be rotating is not in a straight line, simply reset the values of these axis.

and another joint to always aim at another joint.

Can you explain that situation a little further to me? Which body part exactly is that about? This allows me to provide you a tailored workflow/setup proposal.

Best regards,
Peter

Fixed

Bug in the Clip Settings Window

Anonymous 3 years ago updated 3 years ago 6

There is a bug in the Clip Window, it's not drawing correctly on Linux Ubuntu, I can't rename the clip name neither clip on any of the toggle options.

Image 1101

Answer

Fixed in UMotion V1.28p04 (available for download via the asset store). Thanks again for reporting this issue.

Best regards,
Peter

Fixed

fbxsdkwindows_x64 not found

Two Comet 3 years ago updated by Peter - Soxware Developer 3 years ago 7

Image 1100

When you run Clip Editor, this message appears.

Answer

Fixed in UMotion V1.28p04 (available for download via the asset store). Thanks again for reporting this issue.

Best regards,
Peter

Answered

Suggestion, scrub selection

joejoe 3 years ago updated by Peter - Soxware Developer 3 years ago 1

trying to select a part of the animation and stop selecting at a specific point in the animation without having to count 


an option for the clip editor that makes it scrub through the animation at the same time of using the marque select at the top of the window. it would make it much easier to know when to stop selecting.

Answered

WWF Smackdown style animation

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

Moved from Unity forum by Mod: https://forum.unity.com/threads/umotion-animation-editor.490618/page-13#post-8109905


Hi there

I've got a question if it's okay? I tried using the forum search, and couldn't find any questions about child-of, apologies if there are some that I couldn't see on my trawling.

I've bought the Umotion Pro Asset, and have finally got an excuse to put it through its paces (it looks incredible!), and I am particularly interested in the child-of contraints. I've watched the guides and read the documentation, then had a quick go at using it and it seems to do exactly what we need, but I've got two complications for our use case that I'm unsure are possible in Umotion?

The first is if I could set the childof contraint at runtime so that the same animations can be applied on different humanoid targets at runtime?

In the example video below, the two animators are independent, but then at roughly 4 seconds in there's a move where one wrestler picks up the other and they're both momentarily seemingly playing a 2 person animation, and that's the exact thing we'd love for our project.

Youtube video

The second is if we'd make the receiver of the attack animate using a separate controller or if Umotion would be able to work out what it needs to map to and apply that to our child node?

Thank you so much for your time and best wishes,

Adam :-)

Answer

Hi Adam,

thank you very much for your support request.


If you create such a "paired" animation, there are several things to consider:

  • The same position/rotation offset the characters had during authoring of the animation should be present at runtime. So your movement code needs to make sure that both your characters have the correct starting position/rotation offset before playing the animation. The simplest form would be to "teleport" the characters to have the correct offset.
  • UMotion does not perform any runtime code. So no, the child-of constraint or UMotion's IK system is not available at runtime. UMotion solely creates *.anim files that contain the ready made animation. In order to adapt an animation to runtime situations, a runtime IK solution like animation rigging or Final IK is needed.
  • To animate two characters at the same time in UMotion, you have the following options: https://support.soxware.com/en/communities/1/topics/726-animate-two-or-more-models-at-the-same-time

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

Best regards,
Peter