Question - GLTF Recorder & animation clips

Abierto
#675 2 comentarios 0 reacciones 0 asignados Ver en GitHub

Nadie ha tomado este issue todavía.

Evaluación

Dificultad
5/5
Tiempo estimado
Más de una semana
Aptitud para principiantes
15/100
Tipo de issue
Nueva funcionalidad
Claridad
Necesita aclaración
Estado de actividad
Estancado
Stack tecnológico
csharp, unity

Línea de trabajo

Comienza con el componente GLTF Recorder y los delegates OnBeforeAddAnimationData y OnPostExport mencionados. El issue no especifica archivos ni pruebas y plantea tres preguntas independientes sobre animación; un maintainer tendría que definir qué workflow está dentro del alcance y qué comportamiento compatible o documentación se considerarían suficientes para darlo por terminado.

Escrito por el modelo de indexación a partir del texto del issue.

Descripción

Hello,

I'm currently working on a animation system in unity to record and modify animation at runtime and save them in gltf format. I have several questions concerning the gltf recorder component and gltf animations.

First, is it possible to record a first animation for an object(or group) then record an other one for the same object and add it to the first glb file ? I tried to achieve this by using the OnBeforeAddAnimationData delegate to catch recorded data of the second animation then I used the OnPostExport delegate to add the animation data to the first recorded animation glb. The problem with this approach is that it's generating many errors in the glb gltf making it unreadable.

Second, is it possible to unbind animation clip from their orignal transform ? I would like to retrieve an animation clip that can be applied to any gameobject transform.

Finally, is it possible to play an animation clip of a glb file without instanciating the all scene if the orginal transform is already in hierarchy ?

This the first time I'm working with animations and gltf, any help/idea is welcome !

Lenguaje dominante
C#
Estrellas
2.3k
Forks
539
Merge medio
3 d 15 h
PR fusionados (30 d)
2

Preparar el entorno

Primeros pasos

  1. Lee el issue completo y luego la guía de contribución del proyecto.
  2. Comenta en el issue que vas a ocuparte — evita que dos personas hagan lo mismo.
  3. Haz un fork del repositorio y trabaja en una rama.
  4. Abre un pull request que haga referencia al número del issue.

Más de KhronosGroup/UnityGLTF

Todos los issues de KhronosGroup/UnityGLTF

Issues similares

Más issues de C#

Recibe los nuevos issues en tu correo

Un resumen breve de issues de GitHub para principiantes.