-
Notifications
You must be signed in to change notification settings - Fork 3
About creating animationclips
There are three kinds of Unity animation clips: Legacy, Generic, and Humanoid.
UnityVRAnimationEditor (UVAE) supports all kinds.
An animation clip created when a game object has an animation component is of type Legacy.
When the game object has an Animator component, the animation clip created will be of type Generic.
According to the specification of the Unity editor, animation clip of Humanoid type can not be created with the editor, but UVAE records animation of Humanoid character by recording IK Effector transform in a pseudo manner.
Please note that animation clip animation objects are only child objects of objects with Animator and Animation components.
And only animation clips that can be edited during play mode are those set in Animator and Animation components.
Since Legacy animation clip can not be used in Timeline, there are only disadvantages, so we can create it, but we do not recommend it.
In UVAE, IK Effector transforms are recorded so that animations of Humanoid characters are recorded in a pseudo manner.
In other words, it is not a Humanoid type animation clip, so it can not be used to other characters.
Also, deleting the IK component makes it impossible to play the animation.
Still, making animation with Humanoid type is convenient because you can combine existing Humanoid type animation and animation created with UVAE in Timeline and Animator. (For example, only the upper body makes IK effective and pauses, lower body regenerates existing walking animation, etc.)
Generic type records not only IK Effector's transform but also all bone transforms.
To turn this feature on please check the RecordAllChildObjects of GenerateNodes.
Since the bone transform is recorded, animation can be played even if IK component is deleted.
So it seems to be suitable for creation of animation for games.