atteneder / glTFast

Efficient glTF 3D import / export package for Unity
Other
1.24k stars 251 forks source link

Animation via Mecanim #167

Open atteneder opened 3 years ago

atteneder commented 3 years ago

Animation currently uses Unity's legacy animation system.

Current state is that Mecanim animation system is not fully available at runtime. You can exchange animation clips at runtime via AnimationControllerOverride, but creating an entire state machine from scratch via script is limited to Editor.

For design-time import this could still be a viable option. glTFast could create a default AnimationController and Animator component. Users can then customize the controller.

MasterZ0 commented 1 year ago

Get a clip from GltfImport and set in an AnimatorOverrideController works in the Editor, but in my tests it doesn't work in Build.

image

hackyinge commented 1 year ago

Hello, brother, can this problem be solved?