Creating a Chain Between 2 points using Ammo JS

I was trying to create a generic solution for making a link/bridge between 2 Vectors. This is what I end up creating:

Both ends are draggable so you can move red and blue sphere to see how chain behave:

https://playground.babylonjs.com/#DGEP8N#20

Here is a fancier version with shadows, you can also drag ends here:
https://www.babylonjs-playground.com/#IFYDRS#128

i could not find a good use for it so I am sharing it as a future reference for creating a physical link between 2 vectors.

4 Likes

This is so cool!! Thank you :smiley: