# How can I parent a tube or extrude geometry to follow a rope physics object made up of a series of points?

**URL:** <https://discourse.threejs.org/t/how-can-i-parent-a-tube-or-extrude-geometry-to-follow-a-rope-physics-object-made-up-of-a-series-of-points/42422>\
**Category:** Questions\
**Tags:** ammo-ammojs\
**Created:** [September 10, 2022, 3:08pm UTC](https://discourse.threejs.org/t/how-can-i-parent-a-tube-or-extrude-geometry-to-follow-a-rope-physics-object-made-up-of-a-series-of-points/42422 "2022-09-10T15:08:06Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![elifowl](https://avatars.discourse-cdn.com/v4/letter/e/67e7ee/32.png) [@elifowl](https://discourse.threejs.org/u/elifowl)\
**Post date:** [September 10, 2022, 3:08pm UTC](https://discourse.threejs.org/t/how-can-i-parent-a-tube-or-extrude-geometry-to-follow-a-rope-physics-object-made-up-of-a-series-of-points/42422/1 "2022-09-10T15:08:06Z")

</div>

I have a Ammo.JS 10 segment long rope physics object that I’m currently able to animate no problem and visualize using THREE.Line, but I’m having trouble translating that to a tube or extrude geometry. Ideally, what I’m looking to do is parent each ring of vertices in my tube/extrude geometry to the corresponding node/point of the rope physics object so it updates accordingly. Is this possible in Three.JS?

For reference, here’s a link to what I’m trying to achieve implemented in Babylon.JS + Ammo.JS, but to my knowledge Three.JS doesn’t have an equivalent to the Babylon.JS physics imposter.

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

---

<div class="post-metadata">

**Author:** ![anidivr](https://yyz1.discourse-cdn.com/flex035/user_avatar/discourse.threejs.org/anidivr/32/32924_2.png) [@anidivr](https://discourse.threejs.org/u/anidivr)\
**Post date:** [September 10, 2022, 5:25pm UTC](https://discourse.threejs.org/t/how-can-i-parent-a-tube-or-extrude-geometry-to-follow-a-rope-physics-object-made-up-of-a-series-of-points/42422/2 "2022-09-10T17:25:13Z")

</div>

[This example](https://ng3cannon.z9.web.core.windows.net/?example=cable) uses cannon-es physics constraints. Source code is [here](https://github.com/IRobot1/ng3-cannon-template/tree/master/src/app/components/physics-cable). Note that if a texture is applied to the cable, it isn’t correct, so limited to a solid color for now.

Hope this helps
