Answered

Just picked up Umotion - Newbie Question on Pasting Start and Stop states to create clip- Melee Draw Sword

Anonymous 4 years ago updated 4 years ago 1

Just picked up the asset - Looks really good!  Questions:  (IK Setup-Humanoid-Auto Key=> Generate) -For first testing I took 2 Animations, One a Melee Pose Idle and the Other a Locomotion Idle.  

I created a new "Clip" and have both these animations imported.   I just want to start with the Locomotion idle pose state and end state be the Melee Pose State (Drawing a Sword Later).   When I select the Melee Pose Animation, Select the entire body, Change to my Clip and move to 2:00 and hit CNTRL-V to Paste it does nothing?   From what I understand  Umotion after this end state paste (and Beginning state paste) will create the clip with the humaniod moving from idle state to the melee ready to draw sword state?   I guess I am stuck on why I can't paste the beginning and end states?   Sorry, New to working in animations like this.   Excited though :) 

Answer
Anonymous 4 years ago

Cancel This!   Got it working so far.  :)  Thanks! 

Answered

Isolate Selection

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

Hi!


Would it be possible to have the selected bones be isolated in the properties menu? What i mean is, in dopesheet or curves, to have only the bones that have been selected in the scene view be visible. So if I'd select the two hip bones, all other properties would be hidden (until anything else is selected). Having this as a toggleable feature would be amazing!


I think it would make it a lot easier to work, for example when two properties you want to sync/time with each other are very far away from each other on the list (making you have to scroll up and down all the time to see them)


Thanks for the excellent tool, it makes animation so muc faster for me as it is :)

Answer

Hi Felix,

thank you very much for sharing your idea.

I think this would indeed be a useful feature. I've took a note in my ideas for the future list, but can't promise anything right now.

Thanks for your nice words, I'm glad you like working with UMotion. Don't hesitate to contact me in case you have any other ideas or have any questions.

Best regards,

Peter

Answered

Pose to Pose > Feet going through floor midway through. Best technique?

Anonymous 4 years ago updated 4 years ago 4

Hello, 

I'm trying to simply transition a character between two simple poses. 

Image 604


Image 605


When I scrub between the two states, the character's feet go through the floor.  

Image 606

What's the best technique to fix this sort of thing?  Simple keyframing like I've done using this additive layer? 

Image 607

Or is there a much better technique?  I've tried messing around with IK, but that always seems like the wrong route to go down if you're trying to edit the position of  body part that is already being animated in the raw file.  

I think UMotion is terrific btw, one of the best tools I've seen for Unity!   I just it had a lot more tutorials dealing with simple stuff like this (is it simple???) for the more amateurish amongst us :) 

Answer

Hi,
thank you very much for your support request and thanks for the nice words. Really appreciated.

I would say this is a typical IK use case, as with IK you can directly specify the trajectory of the foot/ankle (via the position of the IK handle). Setting up IK is rather straight forward using the IK setup wizard (when using humanoid, the IK setup wizard's default settings usually don't need to be changed).


You have the possibility to either only use IK at a specific part of your animation (with the "FK/IK Blend" channel you can fade between FK/IK, and using the "Set IK to FK" button you can sync the IK handle with the current FK rig), or you can convert the whole existing animation to IK using "Edit --> FK to IK Conversion" (please note that this conversion might have small imperfections that you may need to correct by hand again).

All the details about IK are shown in this video tutorial:

Please let me know in case you need any further assistance.

Best regards,
Peter

Answered

Interface access current edit bone data

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

I wrote a ruler&protractor script try to catch bone's transform variable, but skeleton in scene did not actually move, seems play graph only. 
it'll be great to have a window access editing frame data

Answer

Hi,

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

When you've assigned a character to the Pose Editor, any changes you do externally (e.g. via a custom script) to any of the bones/transforms of said character are going to be overwritten by UMotion every time UMotion updates the pose. The only way to change the pose of your character is via UMotion's callback mechanism. The callback is called every time UMotion finished updating the pose, thus allows your script to add modifications on top of it. For more information, please check the manual at "Pose Editor / Options" headline "Extending UMotion".

UMotion also has a dedicated UMotion API that gives scripting access to some features of UMotion. Unfortunately, the bone data is currently not exposed via this API. I've took a note to expose this in the future, but can't promise anything as of now.


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


Best regards,
Peter

Under review

RootMotion problem

makaolachsiungca 4 years ago updated by Peter - Soxware Developer 4 years ago 5

Somehow humanoid's hips transform show "different difference variable" between local coordnate and global coordnate,which cause rootmotion inaccurate.

"different difference variable">>between two frame FrameStart and FrameEnd, localposition take 0f difference at Y-axis,but once swtich to global unit, it takes 0.01f  difference at Y-axis, same problem also happen on rotation 

Answer

Hi,
thank you very much for your support request.

Animations only use local coordinates internally. The world space coordinate you see in the tool assistant window, is the local coordinate converted to world space. Due to floating point inaccuracies (especially noticeable if your character has huge scaling or is far away from the scene's center), the displayed value can have small errors.

Please let me know in case you need any further assistance.

Best regards,
Peter

Answered

QOL - Set the Animation Type on exported FBX files

mel 4 years ago updated 4 years ago 2

This is a small thing, but when outputting to FBX uMotion should automatically set the animation type based on the uMotion project's animation type.

Answer

Hi Mel,

thank you very much for sharing your idea.

This is not implemented by purpose. There are two reasons:


First of all, when exporting a humanoid project (and you want to use the animation as humanoid) it is highly recommended to use the "Update Existing File" mode to write the animation into the humanoid character's FBX file (--> the FBX is already set as humanoid). If you export your animation as a new separate FBX instead, then the humanoid avatar setup isn't created in an optimal way by Unity, leading to errors in the resulting humanoid animation.

Furthermore, it should be up to the user how he wants to use the FBX animation. It can be a legit use case to export a humanoid animation to FBX, but then use it as generic for example.

That's way I opted for a manual way.

Best regards,
Peter

Answered

UMotion In Practice Link Death

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

I am new to umotion, so im still watching the umotion tutorials, I just peeked at the , FPS UMotion In Practice, And for the hands there is a link Whole Project. This one is also death. I need to watch this tutorial in the futher.

Answer

Hi,
thank you very much for letting me know. I've updated the link in the video description, it should be working again.

Don't hesitate to contact me in case you find any other dead links.

Best regards,
Peter

Answered

Export to FBX - Duplicates Animations

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

1. Imported all animation clips from FBX file.

2. Export-> All Clips -> to the same FBX file using "Update Existing File".

3. Result: each animation clip has been duplicated.

4. If I import it to Blender, each animation clip is it's own "Action", instead of all animation clips being on a single timeline, merged together, next to each other.


I would expect, that:

- If exported animation clips would replace existing animation clips.

- If  add a new animation clip in UMotion, then exporting it would append this animation clip at the end rather than separating it. For example, If I have 1000 frames, then If I create animation with 30 frames and export it, then I would expect FBX file to have 1030 frames and that animation would be Start: 1000, End: 1030.

I am not sure how this is supposed to work, so please confirm if this is the expected behaviour?

Things to note: 

- each exported animation clip starts from frame 0.

- each exported animation clip has its own separate "source".

Image 597

Image 598
Answer

Hi,
thank you very much for your support request.

Seems like your fbx contains only one animation clip which is then split into separate clips by Unity's importer (the separate clips are defined with the start/end clip times). If you then import the separate clips into UMotion and re-export them to the FBX, UMotion is going to write them as separate clips into the fbx. If you want a combined clip to be written into the fbx you would need to create a combined clip in UMotion. You could either define a combined clip in Unity's import settings and import that one or combine the already imported clips (imported in UMotion) to one and export that one.

Why do you prefer a combined animation?

Best regards,
Peter

Answered

Add little offsets on keyframes automatically?

antoine ober 4 years ago updated by Peter - Soxware Developer 4 years ago 1

Hi !

Just a quick question. When I finish an animation, I add a little offset for each bone, like in the red part of the pic below, in order to get a more natural overall movement.

Is there a tool to automatize this process?
(if not, don't bother, I'm just asking)


Thanks again for your help !

Best regards,

Image 596

Answer

Hi,

thank you very much for reaching out.

Unfortunately there is no such automatic tool.

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

Best regards,
Peter

Answered

Not working

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

in console show me this...

Assets\Editor Default Resources\UMotionEditor\Scripts\Application\CameraCompatibilityUtility.cs(23,17): error CS0103: The name 'RenderPipeline' does not exist in the current context

Answer

Hi,
thank you very much for your support request.

The script file you mentioned in the error message does not exist in newer UMotion versions anymore. Old script files remain in the installation folder when the old UMotion version is not deleted before updating to a new one (Unity's package mechanism isn't deleting old files unfortunately) or you accidentally installed an old version of UMotion. Please delete the "Editor Default Resources" folder. Then go to the Unity Asset Store, make sure that the version V1.23 is downloaded, then import it again. This should solve your issue.

Please let me know in case you need any further assistant.

Best regards,
Peter