# Spring Bone （ How to implement spring bones in babylon ）

**URL:** <https://forum.babylonjs.com/t/spring-bone-how-to-implement-spring-bones-in-babylon/34123>\
**Category:** Questions\
**Created:** [September 22, 2022, 2:56am UTC](https://forum.babylonjs.com/t/spring-bone-how-to-implement-spring-bones-in-babylon/34123 "2022-09-22T02:56:32Z")\
**Posts on this page:** 8\
**Page:** 1

<div class="post-metadata">

**Author:** ![zxq834386282](https://sea2.discourse-cdn.com/flex024/user_avatar/forum.babylonjs.com/zxq834386282/32/24384_2.png) [@zxq834386282](https://forum.babylonjs.com/u/zxq834386282)\
**Post date:** [September 22, 2022, 2:56am UTC](https://forum.babylonjs.com/t/spring-bone-how-to-implement-spring-bones-in-babylon/34123/1 "2022-09-22T02:56:33Z")

</div>

Please do not forget to add a link to a [Playground](https://playground.babylonjs.com/) to get a faster answer:

This is the case. There is a concept of spring bones in engines such as unity. When I play mobile games, I also see some details displayed by the 3D model. For example, as in the video, when the camera rotates, the force and The speed determines the animation of some parts, such as the hair and waist accessories here. I know that this place is made of spring bones, so I would like to ask you how to use babylon to achieve it. Is it expensive to implement? Is it complicated?

sorry new users can not upload attachments  
i will put it in comment

---

<div class="post-metadata">

**Author:** ![zxq834386282](https://sea2.discourse-cdn.com/flex024/user_avatar/forum.babylonjs.com/zxq834386282/32/24384_2.png) [@zxq834386282](https://forum.babylonjs.com/u/zxq834386282)\
**Post date:** [September 22, 2022, 5:30am UTC](https://forum.babylonjs.com/t/spring-bone-how-to-implement-spring-bones-in-babylon/34123/2 "2022-09-22T05:30:41Z")

</div>

[https://game.gtimg.cn/images/lole/act/a20220624iutest/springBones.mp4](https://game.gtimg.cn/images/lole/act/a20220624iutest/springBones.mp4)

this is the video

---

<div class="post-metadata">

**Author:** ![nasimiasl](https://sea2.discourse-cdn.com/flex024/user_avatar/forum.babylonjs.com/nasimiasl/32/34_2.png) [@nasimiasl](https://forum.babylonjs.com/u/nasimiasl)\
**Post date:** [September 22, 2022, 6:38am UTC](https://forum.babylonjs.com/t/spring-bone-how-to-implement-spring-bones-in-babylon/34123/3 "2022-09-22T06:38:00Z")

</div>

i think about make it by shader

---

<div class="post-metadata">

**Author:** ![carolhmj](https://sea2.discourse-cdn.com/flex024/user_avatar/forum.babylonjs.com/carolhmj/32/25918_2.png) [@carolhmj](https://forum.babylonjs.com/u/carolhmj)\
**Post date:** [September 22, 2022, 11:49am UTC](https://forum.babylonjs.com/t/spring-bone-how-to-implement-spring-bones-in-babylon/34123/4 "2022-09-22T11:49:55Z")

</div>

The bone look/bone ik controllers might be useful? [Bones and Skeletons | Babylon.js Documentation (babylonjs.com)](https://doc.babylonjs.com/features/featuresDeepDive/mesh/bonesSkeletons#bonelookcontroller)

---

<div class="post-metadata">

**Author:** ![zxq834386282](https://sea2.discourse-cdn.com/flex024/user_avatar/forum.babylonjs.com/zxq834386282/32/24384_2.png) [@zxq834386282](https://forum.babylonjs.com/u/zxq834386282)\
**Post date:** [September 23, 2022, 2:23am UTC](https://forum.babylonjs.com/t/spring-bone-how-to-implement-spring-bones-in-babylon/34123/5 "2022-09-23T02:23:24Z")

</div>

Thank you very much, I understand that this method can get all the skeletal structures of the mesh and control them, but if you want to meet the physical bionics, the focus is on how to control the elasticity of the skeletal structure according to the drag force and speed. Babylon has this an existing framework?

---

<div class="post-metadata">

**Author:** ![carolhmj](https://sea2.discourse-cdn.com/flex024/user_avatar/forum.babylonjs.com/carolhmj/32/25918_2.png) [@carolhmj](https://forum.babylonjs.com/u/carolhmj)\
**Post date:** [September 23, 2022, 12:39pm UTC](https://forum.babylonjs.com/t/spring-bone-how-to-implement-spring-bones-in-babylon/34123/6 "2022-09-23T12:39:15Z")

</div>

Sorry but no, you’d have to roll your own solution 😕

---

<div class="post-metadata">

**Author:** ![jeremy-coleman](https://sea2.discourse-cdn.com/flex024/user_avatar/forum.babylonjs.com/jeremy-coleman/32/15493_2.png) [@jeremy-coleman](https://forum.babylonjs.com/u/jeremy-coleman)\
**Post date:** [September 23, 2022, 6:26pm UTC](https://forum.babylonjs.com/t/spring-bone-how-to-implement-spring-bones-in-babylon/34123/7 "2022-09-23T18:26:10Z")

</div>

this is a pretty nice example. its the draggable squid example with procedural transform.

> **[Babylon.js Playground](https://playground.babylonjs.com/#2D0RWJ)**
>
> Babylon.js playground is a live editor for Babylon.js WebGL 3D scenes

this demo on github has ragdoll physics with similar outcome

> **[GitHub - Takebon/babylon\_ragdoll\_robi: Babylon js ragdoll robot](https://github.com/Takebon/babylon_ragdoll_robi)**
>
> Babylon js ragdoll robot. Contribute to Takebon/babylon\_ragdoll\_robi development by creating an account on GitHub.

---

<div class="post-metadata">

**Author:** ![zxq834386282](https://sea2.discourse-cdn.com/flex024/user_avatar/forum.babylonjs.com/zxq834386282/32/24384_2.png) [@zxq834386282](https://forum.babylonjs.com/u/zxq834386282)\
**Post date:** [September 26, 2022, 4:54am UTC](https://forum.babylonjs.com/t/spring-bone-how-to-implement-spring-bones-in-babylon/34123/8 "2022-09-26T04:54:41Z")

</div>

pretty pretty pretty good  
Thanks so much
