Answered

ANIMATE TWO OR MORE MODELS AT THE SAME TIME

Robson Medeiros 3 years ago updated by Peter - Soxware Developer 3 years ago 1

I would like to ask you to create a way to animate two or more characters at once.
We are a family owned and operated business.
I need to make one character hold the hand of another and help him climb on something and for this to work well when playing a scene I would have to animate both characters at the same time to simulate interaction with each other.
Test the Akeytsu program and import two characters there and animate them at the same time so that they understand what I'm asking for. If you make this possibility, UMOTION will certainly be irreplaceable.

UMotion Version:
Unity Version:

Answer

Answer
Answered

Hi,

thank you very much for your support request.

In order for two separate animations to interact correctly with each other, you need to ensure that they both start at the correct initial position/rotation in-game (otherwise they are going to be offset to each other) and precisely at the same time. Instead of using 2 separate animations it's usually easier to control both characters with one animation (see method 1 below). If you use two separate animations, Unity timeline is Unity's tool to correctly sequence multiple animations.

There are 2 ways how you can animate character-character interactions with UMotion:

  1. Instantiate your two characters in the scene and remove there animator component. Make both a child of an uber empty game object that has an animator component assigned (both characters now have the same parent game object). Create a new UMotion project of type generic and assign the "uber" game object to the pose editor. You can now create animations that control both characters at the same time. This also solves the issue with the offset (mentioned above) that you have with 2 separate animations.
  2. Using UMotion's "Sync" feature, you can synchronize UMotion with Unity's animation window or Unity timeline. That way you can animate one character using UMotion and simultaneously preview the animation on one or multiple other characters (the frame cursors are synced). More information can be found in the UMotion manual's chapter "Unity Timeline Integration" and in this video:


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

Best regards,
Peter

Answer
Answered

Hi,

thank you very much for your support request.

In order for two separate animations to interact correctly with each other, you need to ensure that they both start at the correct initial position/rotation in-game (otherwise they are going to be offset to each other) and precisely at the same time. Instead of using 2 separate animations it's usually easier to control both characters with one animation (see method 1 below). If you use two separate animations, Unity timeline is Unity's tool to correctly sequence multiple animations.

There are 2 ways how you can animate character-character interactions with UMotion:

  1. Instantiate your two characters in the scene and remove there animator component. Make both a child of an uber empty game object that has an animator component assigned (both characters now have the same parent game object). Create a new UMotion project of type generic and assign the "uber" game object to the pose editor. You can now create animations that control both characters at the same time. This also solves the issue with the offset (mentioned above) that you have with 2 separate animations.
  2. Using UMotion's "Sync" feature, you can synchronize UMotion with Unity's animation window or Unity timeline. That way you can animate one character using UMotion and simultaneously preview the animation on one or multiple other characters (the frame cursors are synced). More information can be found in the UMotion manual's chapter "Unity Timeline Integration" and in this video:


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

Best regards,
Peter