Importing Humanoid Animations: mudanças entre as edições
Ir para navegação
Ir para pesquisar
(Criou página com 'TriLib offers a versatile range of animation importing options, all of which can be easily configured using the "'''AssetLoaderOptions.AnimationType'''" field: * '''Legacy''': Using this animation importing type, TriLib will create Animation Clips for the loaded model (if it contains animations) and add an "Animation" component to the loaded Game Object. * '''Generic''': Using this animation importing type, TriLib does not create Animation Clips, but it does the followi...') |
Sem resumo de edição |
||
(Uma revisão intermediária pelo mesmo usuário não está sendo mostrada) | |||
Linha 1: | Linha 1: | ||
TriLib offers a versatile range of animation importing options, all of which can be easily configured using the | TriLib offers a versatile range of animation importing options, all of which can be easily configured using the <code>'''AssetLoaderOptions.AnimationType'''</code> field: | ||
* '''Legacy''': Using this animation importing type, TriLib will create Animation Clips for the loaded model (if it contains animations) and add an "Animation" component to the loaded Game Object. | * '''<code>Legacy</code>''': Using this animation importing type, TriLib will create Animation Clips for the loaded model (if it contains animations) and add an "Animation" component to the loaded Game Object. | ||
* '''Generic''': Using this animation importing type, TriLib does not create Animation Clips, but it does the following, depending on the | * '''<code>Generic</code>''': Using this animation importing type, TriLib does not create Animation Clips, but it does the following, depending on the <code>'''AssetLoaderOptionss.AvatarDefinition'''</code> value: | ||
** '''CreateFromThisModel''': TriLib adds an "Animator" component to the loaded Game Object, creates a generic avatar for the loaded model, and uses it at the "Animator" component. | ** '''<code>CreateFromThisModel</code>''': TriLib adds an "Animator" component to the loaded Game Object, creates a generic avatar for the loaded model, and uses it at the "Animator" component. | ||
** '''CopyFromOtherAvatar''': TriLib adds an "Animator" component to the loaded Game Object and uses the avatar at | ** '''<code>CopyFromOtherAvatar</code>''': TriLib adds an "Animator" component to the loaded Game Object and uses the avatar at <code>'''AssetLoaderOptions.Avatar'''</code> at the "Animator" component. | ||
* '''Humanoid''': Using this animation importing type, TriLib does not create Animation Clips, but it does the following, depending on the | * '''<code>Humanoid</code>''': Using this animation importing type, TriLib does not create Animation Clips, but it does the following, depending on the <code>'''AssetLoaderOptionss.AvatarDefinition'''</code> value: | ||
** '''CreateFromThisModel''': TriLib adds an "Animator" component to the loaded Game Object, creates a humanoid avatar for the loaded model using the Avatar Mapper set at the | ** '''<code>CreateFromThisModel</code>''': TriLib adds an "Animator" component to the loaded Game Object, creates a humanoid avatar for the loaded model using the Avatar Mapper set at the <code>'''AssetLoaderOptions.HumanoidAvatarMapper'''</code> field, and uses it at the "Animator" component. | ||
** '''CopyFromOtherAvatar''': TriLib adds an "Animator" component to the loaded Game Object and uses the avatar at | ** '''<code>CopyFromOtherAvatar</code>''': TriLib adds an "Animator" component to the loaded Game Object and uses the avatar at <code>'''AssetLoaderOptions.Avatar'''</code> at the "Animator" component. | ||
TriLib cannot import generic or humanoid animations due to a Unity engine limitation. However, we are actively working on a side project that will soon enable humanoid animation importing. | TriLib cannot import generic or humanoid animations due to a Unity engine limitation. However, we are actively working on a side project that will soon enable humanoid animation importing. |
Edição atual tal como às 09h16min de 18 de maio de 2024
TriLib offers a versatile range of animation importing options, all of which can be easily configured using the AssetLoaderOptions.AnimationType
field:
Legacy
: Using this animation importing type, TriLib will create Animation Clips for the loaded model (if it contains animations) and add an "Animation" component to the loaded Game Object.Generic
: Using this animation importing type, TriLib does not create Animation Clips, but it does the following, depending on theAssetLoaderOptionss.AvatarDefinition
value:CreateFromThisModel
: TriLib adds an "Animator" component to the loaded Game Object, creates a generic avatar for the loaded model, and uses it at the "Animator" component.CopyFromOtherAvatar
: TriLib adds an "Animator" component to the loaded Game Object and uses the avatar atAssetLoaderOptions.Avatar
at the "Animator" component.
Humanoid
: Using this animation importing type, TriLib does not create Animation Clips, but it does the following, depending on theAssetLoaderOptionss.AvatarDefinition
value:CreateFromThisModel
: TriLib adds an "Animator" component to the loaded Game Object, creates a humanoid avatar for the loaded model using the Avatar Mapper set at theAssetLoaderOptions.HumanoidAvatarMapper
field, and uses it at the "Animator" component.CopyFromOtherAvatar
: TriLib adds an "Animator" component to the loaded Game Object and uses the avatar atAssetLoaderOptions.Avatar
at the "Animator" component.
TriLib cannot import generic or humanoid animations due to a Unity engine limitation. However, we are actively working on a side project that will soon enable humanoid animation importing.