mfedorov

Good day !

When SkeletonBaker make unity controller with anim files on it. The anim files contains key on every frame (koef), have no optimization. I understand if i use some animation curves it must be that, but i see koef in empty parametrs when all keys equal zero.


Can i set some parameters to make anim files more optimization.
Mb other tools can optimize anim files?

Ty and have a good day!
Аватара пользователя
mfedorov
  • Сообщения: 262

Pharan

Open SkeletonBaker.cs and look for this line: https://github.com/EsotericSoftware/spine-runtimes/blob/master/spine-unity/Assets/spine-unity/Editor/SkeletonBaker.cs#L179

It specifies the bake increment (frames per second)
You can probably lower it to 30.

SkeletonBaker is the thing that does all that too so if you want to dig around the code, feel free.
Аватара пользователя
Pharan
  • Сообщения: 5366

mfedorov

Many many thanx!
Аватара пользователя
mfedorov
  • Сообщения: 262


Вернуться в Unity