# Applying bone weights causes mesh geometry to unpredictably "explode"

**URL:** <https://forum.babylonjs.com/t/applying-bone-weights-causes-mesh-geometry-to-unpredictably-explode/25862>\
**Category:** Questions\
**Created:** [December 7, 2021, 1:53pm UTC](https://forum.babylonjs.com/t/applying-bone-weights-causes-mesh-geometry-to-unpredictably-explode/25862 "2021-12-07T13:53:20Z")\
**Posts on this page:** 1\
**Showing post:** 3

<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:** [December 8, 2021, 12:23am UTC](https://forum.babylonjs.com/t/applying-bone-weights-causes-mesh-geometry-to-unpredictably-explode/25862/3 "2021-12-08T00:23:37Z")

</div>

Maybe this thread and related links can help:

> [@Trouble creating programmatic skeleton and bones](https://forum.babylonjs.com/t/trouble-creating-programmatic-skeleton-and-bones/19351):
>
> Hello, I am trying to create a simple skeleton that consists of individual meshes that are attached to each bone, no weights. I’ve created a basic skeleton with pelvis, thigh and shin bones, but I’m not getting the result that I expect. The skeletal viewer shows a strange visualization of bones, where they are all just pointing straight up. And, only the LINES visualization seems to display anything, the SPHERES and SPHERE\_AND\_SPURS style displays nothing. I was expecting the lines between…

But as @sebavan explained, creating rigged meshes by code is not an easy task…

---

_[View the full topic](https://forum.babylonjs.com/t/applying-bone-weights-causes-mesh-geometry-to-unpredictably-explode/25862)._
