Question - GLTF Recorder & animation clips

未关闭
#675 2 条评论 0 个 reaction 已指派 0 人 在 GitHub 查看

还没有人认领这个 Issue。

评估

难度
5/5
预计耗时
一周以上
新手友好度
15/100
Issue 类型
功能
描述清晰度
需要澄清
活跃度
停滞
技术栈
csharp, unity

调研方向

从 GLTF Recorder 组件以及提到的 OnBeforeAddAnimationData 和 OnPostExport delegates 开始。该 issue 没有指定文件或测试,并提出了三个彼此独立的动画问题;maintainer 需要定义哪些 workflow 属于范围之内,以及什么样的受支持行为或文档可以视为完成。

由索引模型根据 Issue 内容生成。

描述

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 !

主要语言
C#
星标
2.3k
派生
539
平均合并
3 天 15 小时
30 天内合并 PR
2

环境准备

  • 没有 Dockerfile 或 Docker Compose 文件
  • 没有 Pull Request 模板
  • 阅读贡献指南

从这里开始

  1. 先读完整个 Issue,再读项目的贡献指南。
  2. 在 Issue 下留言说明你要接手 —— 这能避免两个人做同样的事。
  3. Fork 仓库,在一个分支上完成修改。
  4. 提交 Pull Request,并在描述里引用这个 Issue 编号。

KhronosGroup/UnityGLTF 的其他 Issue

查看 KhronosGroup/UnityGLTF 的全部 Issue

相似的 Issue

更多 C# Issue

把新 issue 发到你的邮箱

精选适合新手参与的 GitHub issue 摘要。