Question - GLTF Recorder & animation clips

Đang mở
#675 2 bình luận 0 reaction 0 người được giao Xem trên GitHub

Chưa có ai nhận issue này.

Đánh giá

Độ khó
5/5
Thời gian dự kiến
Hơn một tuần
Mức phù hợp với người mới
15/100
Loại issue
Tính năng
Độ rõ ràng
Cần làm rõ
Mức độ hoạt động
Đình trệ
Công nghệ
csharp, unity

Hướng nghiên cứu

Bắt đầu với component GLTF Recorder và các delegate OnBeforeAddAnimationData và OnPostExport được đề cập. Issue không nêu file hay test nào và đặt ra ba câu hỏi riêng biệt về animation; maintainer cần xác định workflow nào nằm trong phạm vi và behavior được hỗ trợ hoặc tài liệu nào sẽ được xem là đủ để hoàn tất.

Do mô hình lập chỉ mục viết ra từ nội dung của issue.

Mô tả

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 !

Ngôn ngữ chính
C#
Star
2.3k
Fork
539
Merge trung bình
3 ngày 15 giờ
Pull request đã merge (30 ngày)
2

Chuẩn bị môi trường

Bắt đầu từ đâu

  1. Đọc hết issue, rồi đọc hướng dẫn đóng góp của dự án.
  2. Bình luận trên issue rằng bạn sẽ nhận — tránh hai người làm cùng một việc.
  3. Fork repository và làm thay đổi trên một nhánh.
  4. Mở pull request có tham chiếu số hiệu của issue.

Issue khác của KhronosGroup/UnityGLTF

Tất cả issue của KhronosGroup/UnityGLTF

Issue tương tự

Thêm issue về C#

Nhận issue mới trong hộp thư của bạn

Bản tóm tắt ngắn những issue GitHub phù hợp với người mới.