2

I am teaching myself babylon.js and I am creating an Animations library class (in javascript). I wanted to know if babylon.js provides a tool that would enable me to extract the total animation keyframe for my zombie character?

What I am doing as a workaround is hard-typing the total frames but I wanted to do it dynamically.

user3838697
  • 115
  • 3
  • 12

1 Answers1

2

You have an array called mesh.skeleton.animations.

Each animation has a keys property containing all keyframes

David Catuhe
  • 1,747
  • 1
  • 10
  • 9