# How to convert AnimationGroup to AnimationRange

**URL:** <https://forum.babylonjs.com/t/how-to-convert-animationgroup-to-animationrange/22788>\
**Category:** Questions\
**Tags:** animation\
**Created:** [August 4, 2021, 5:43am UTC](https://forum.babylonjs.com/t/how-to-convert-animationgroup-to-animationrange/22788 "2021-08-04T05:43:51Z")\
**Posts on this page:** 1\
**Showing post:** 4

<div class="post-metadata">

**Author:** ![Evgeni\_Popov](https://sea2.discourse-cdn.com/flex024/user_avatar/forum.babylonjs.com/evgeni_popov/32/4432_2.png) [@Evgeni\_Popov](https://forum.babylonjs.com/u/Evgeni_Popov)\
**Post date:** [August 5, 2021, 8:42am UTC](https://forum.babylonjs.com/t/how-to-convert-animationgroup-to-animationrange/22788/4 "2021-08-05T08:42:26Z")

</div>

Having separate channels is how animations are defined in .glb file, that’s why it’s how it is working in Babylon. However, I don’t think it is different when the animation is coming from a .babylon file(?) The difference is that in gltf we animate transform nodes (bones are linked to transform nodes) and in .babylon file we directly animate the bones, but in the end it’s the same thing, we update a property (rotation, position, scaling) and the matrix of the transform node/bone will be recomputed from there.

Regarding sharing skeletons, [GLTF Skeletons And Transform Nodes - #5 by bghgary](https://forum.babylonjs.com/t/gltf-skeletons-and-transform-nodes/2435/5) may help, as well as [Sharing skeletons between two skinned mesh · Issue #1285 · KhronosGroup/glTF · GitHub](https://github.com/KhronosGroup/glTF/issues/1285).

---

_[View the full topic](https://forum.babylonjs.com/t/how-to-convert-animationgroup-to-animationrange/22788)._
