# Creating a physics joint between two or more physical objects? (DEF-3025) (SOLVED)

**URL:** <https://forum.defold.com/t/creating-a-physics-joint-between-two-or-more-physical-objects-def-3025-solved/1147>\
**Category:** Questions\
**Created:** [March 10, 2016, 9:28pm UTC](https://forum.defold.com/t/creating-a-physics-joint-between-two-or-more-physical-objects-def-3025-solved/1147 "2016-03-10T21:28:38Z")\
**Posts on this page:** 19\
**Page:** 1

<div class="post-metadata">

**Author:** ![2bigpixels](https://forum-defold.b-cdn.net/user_avatar/forum.defold.com/2bigpixels/32/526_2.png) [@2bigpixels](https://forum.defold.com/u/2bigpixels)\
**Post date:** [March 10, 2016, 9:28pm UTC](https://forum.defold.com/t/creating-a-physics-joint-between-two-or-more-physical-objects-def-3025-solved/1147/1 "2016-03-10T21:28:38Z")

</div>

Hi all,

Any ideas on the best way to create a moving / flexible physics joint between two or more physical objects ?

For example, create a joints that can be used to join the limbs of a ragdoll figure, or attach the wheels of a vehicle to its body..etc, similar to the Box2D joints (ie. Pivot, Distance, Piston, Friction, Weld, Wheel, Pulley, Touch, Rope, Gear joints)

Many Thanks

---

<div class="post-metadata">

**Author:** ![sicher](https://forum-defold.b-cdn.net/user_avatar/forum.defold.com/sicher/32/8_2.png) [@sicher](https://forum.defold.com/u/sicher)\
**Post date:** [March 11, 2016, 7:44am UTC](https://forum.defold.com/t/creating-a-physics-joint-between-two-or-more-physical-objects-def-3025-solved/1147/2 "2016-03-11T07:44:53Z")

</div>

There is currently no support for joints so you need to write a solver for what you need. @Ragnar_Svensson might have some ideas?

---

<div class="post-metadata">

**Author:** ![Martin\_Dahlin](https://forum-defold.b-cdn.net/user_avatar/forum.defold.com/martin_dahlin/32/358_2.png) [@Martin\_Dahlin](https://forum.defold.com/u/Martin_Dahlin)\
**Post date:** [April 19, 2016, 10:55am UTC](https://forum.defold.com/t/creating-a-physics-joint-between-two-or-more-physical-objects-def-3025-solved/1147/3 "2016-04-19T10:55:28Z")

</div>

These are all good suggestions imo, and it’s nice to know that this is actually already in the Box2D engine.

---

<div class="post-metadata">

**Author:** ![AGulev](https://forum-defold.b-cdn.net/user_avatar/forum.defold.com/agulev/32/4541_2.png) [@AGulev](https://forum.defold.com/u/AGulev)\
**Post date:** [May 19, 2016, 7:03pm UTC](https://forum.defold.com/t/creating-a-physics-joint-between-two-or-more-physical-objects-def-3025-solved/1147/4 "2016-05-19T19:03:42Z")

</div>

I absolutely agree, joints the must have feather.  
I Hope for a soon integration.

---

<div class="post-metadata">

**Author:** ![BunBunBun](https://forum-defold.b-cdn.net/user_avatar/forum.defold.com/bunbunbun/32/25691_2.png) [@BunBunBun](https://forum.defold.com/u/BunBunBun)\
**Post date:** [December 21, 2017, 6:29pm UTC](https://forum.defold.com/t/creating-a-physics-joint-between-two-or-more-physical-objects-def-3025-solved/1147/5 "2017-12-21T18:29:52Z")

</div>

started to port some games on Defold from flash. really vote up for joints feature!

---

<div class="post-metadata">

**Author:** ![marat.giliazov](https://forum-defold.b-cdn.net/user_avatar/forum.defold.com/marat.giliazov/32/12364_2.png) [@marat.giliazov](https://forum.defold.com/u/marat.giliazov)\
**Post date:** [January 26, 2019, 12:31am UTC](https://forum.defold.com/t/creating-a-physics-joint-between-two-or-more-physical-objects-def-3025-solved/1147/6 "2019-01-26T00:31:13Z")

</div>

+1 for joints,  
A lot of game ideas and mechanics are cut by the fact that there is no joints support in the engine.  
Please implement.

---

<div class="post-metadata">

**Author:** ![ilyabiltuev](https://forum-defold.b-cdn.net/user_avatar/forum.defold.com/ilyabiltuev/32/11742_2.png) [@ilyabiltuev](https://forum.defold.com/u/ilyabiltuev)\
**Post date:** [March 18, 2019, 8:02am UTC](https://forum.defold.com/t/creating-a-physics-joint-between-two-or-more-physical-objects-def-3025-solved/1147/7 "2019-03-18T08:02:12Z")

</div>

Hi,  
I have an idea of a game, where a character swings on a rope. I need to implement a rope. I really need joints to do this.  
If Defold has some other alternatives or best practice, please let me know.  
Thank you

---

<div class="post-metadata">

**Author:** ![COCO](https://forum-defold.b-cdn.net/user_avatar/forum.defold.com/coco/32/38692_2.png) [@COCO](https://forum.defold.com/u/COCO)\
**Post date:** [March 18, 2019, 8:07am UTC](https://forum.defold.com/t/creating-a-physics-joint-between-two-or-more-physical-objects-def-3025-solved/1147/8 "2019-03-18T08:07:54Z")

</div>

We are all waiting for it.

---

<div class="post-metadata">

**Author:** ![TheKing0x9](https://forum-defold.b-cdn.net/user_avatar/forum.defold.com/theking0x9/32/13588_2.png) [@TheKing0x9](https://forum.defold.com/u/TheKing0x9)\
**Post date:** [March 18, 2019, 8:29am UTC](https://forum.defold.com/t/creating-a-physics-joint-between-two-or-more-physical-objects-def-3025-solved/1147/9 "2019-03-18T08:29:48Z")

</div>

Yes! Joints will be a useful feature. My vote here. 🙂

---

<div class="post-metadata">

**Author:** ![notbadgun](https://forum-defold.b-cdn.net/user_avatar/forum.defold.com/notbadgun/32/14901_2.png) [@notbadgun](https://forum.defold.com/u/notbadgun)\
**Post date:** [March 18, 2019, 9:30am UTC](https://forum.defold.com/t/creating-a-physics-joint-between-two-or-more-physical-objects-def-3025-solved/1147/10 "2019-03-18T09:30:25Z")

</div>

I look forward to it! 🤗

---

<div class="post-metadata">

**Author:** ![Dragosha](https://forum-defold.b-cdn.net/user_avatar/forum.defold.com/dragosha/32/5103_2.png) [@Dragosha](https://forum.defold.com/u/Dragosha)\
**Post date:** [March 18, 2019, 9:35am UTC](https://forum.defold.com/t/creating-a-physics-joint-between-two-or-more-physical-objects-def-3025-solved/1147/11 "2019-03-18T09:35:20Z")

</div>

linked topic [Physics and joints (DEF-3025) (SOLVED)](https://forum.defold.com/t/physics-and-joints-def-3025/14291)

---

<div class="post-metadata">

**Author:** ![britzl](https://forum-defold.b-cdn.net/user_avatar/forum.defold.com/britzl/32/23_2.png) [@britzl](https://forum.defold.com/u/britzl)\
**Post date:** [March 18, 2019, 11:45am UTC](https://forum.defold.com/t/creating-a-physics-joint-between-two-or-more-physical-objects-def-3025-solved/1147/12 "2019-03-18T11:45:55Z")

</div>

We planned the next sprint (release) today. This sprint will not include any improvements to the physics system besides the synchronous ray cast functionality. We’re focusing a lot on the Facebook SDK upgrade and some other quite critical things. Next sprint will not contain much in terms of physics either. BUT, the sprint after that (ie in 4 weeks) we will do a physics focused sprint where the joints support will be included, as well as some other neat things such as exposing additional properties (configurable gravity anyone?).

---

<div class="post-metadata">

**Author:** ![TheKing0x9](https://forum-defold.b-cdn.net/user_avatar/forum.defold.com/theking0x9/32/13588_2.png) [@TheKing0x9](https://forum.defold.com/u/TheKing0x9)\
**Post date:** [March 18, 2019, 1:25pm UTC](https://forum.defold.com/t/creating-a-physics-joint-between-two-or-more-physical-objects-def-3025-solved/1147/13 "2019-03-18T13:25:31Z")

</div>

That would be great. Thanks

> [@britzl](#):
>
> configurable gravity anyone?

+1

---

<div class="post-metadata">

**Author:** ![Pawel](https://forum-defold.b-cdn.net/user_avatar/forum.defold.com/pawel/32/24623_2.png) [@Pawel](https://forum.defold.com/u/Pawel)\
**Post date:** [March 18, 2019, 7:02pm UTC](https://forum.defold.com/t/creating-a-physics-joint-between-two-or-more-physical-objects-def-3025-solved/1147/14 "2019-03-18T19:02:24Z")

</div>

+1  
Could this gravity affect somehow particle fx? Beside of using its acceleration itself? 🙂

---

<div class="post-metadata">

**Author:** ![britzl](https://forum-defold.b-cdn.net/user_avatar/forum.defold.com/britzl/32/23_2.png) [@britzl](https://forum.defold.com/u/britzl)\
**Post date:** [March 18, 2019, 8:53pm UTC](https://forum.defold.com/t/creating-a-physics-joint-between-two-or-more-physical-objects-def-3025-solved/1147/15 "2019-03-18T20:53:26Z")

</div>

> [@Pawel](#):
>
> Could this gravity affect somehow particle fx

No, I’m afraid not. The gravity is solely for the 2D/3D physics system and the particles are not part of that.

---

<div class="post-metadata">

**Author:** ![totebo](https://forum-defold.b-cdn.net/user_avatar/forum.defold.com/totebo/32/36087_2.png) [@totebo](https://forum.defold.com/u/totebo)\
**Post date:** [March 18, 2019, 11:20pm UTC](https://forum.defold.com/t/creating-a-physics-joint-between-two-or-more-physical-objects-def-3025-solved/1147/16 "2019-03-18T23:20:35Z")

</div>

> [@britzl](#):
>
> the sprint after that (ie in 4 weeks) we will do a physics focused sprint where the joints support will be included

Big news! Huge feature. Maybe be you could squeeze in chain shape support, too? 😉

---

<div class="post-metadata">

**Author:** ![COCO](https://forum-defold.b-cdn.net/user_avatar/forum.defold.com/coco/32/38692_2.png) [@COCO](https://forum.defold.com/u/COCO)\
**Post date:** [May 13, 2019, 2:14pm UTC](https://forum.defold.com/t/creating-a-physics-joint-between-two-or-more-physical-objects-def-3025-solved/1147/17 "2019-05-13T14:14:11Z")

</div>

7 weeks passed…

---

<div class="post-metadata">

**Author:** ![britzl](https://forum-defold.b-cdn.net/user_avatar/forum.defold.com/britzl/32/23_2.png) [@britzl](https://forum.defold.com/u/britzl)\
**Post date:** [May 13, 2019, 8:15pm UTC](https://forum.defold.com/t/creating-a-physics-joint-between-two-or-more-physical-objects-def-3025-solved/1147/18 "2019-05-13T20:15:28Z")

</div>

> [@COCO](#):
>
> 7 weeks passed…

I know. But on the other hand we have this in our current sprint (planned earlier today):

 ![02](https://forum-defold.b-cdn.net/uploads/default/original/2X/2/21f322bdd382a51cb29a3141aa72d8e2d25a8886.png)

There is a very high likelihood of joints being shipped within one or two releases.

---

<div class="post-metadata">

**Author:** ![AGulev](https://forum-defold.b-cdn.net/user_avatar/forum.defold.com/agulev/32/4541_2.png) [@AGulev](https://forum.defold.com/u/AGulev)\
**Post date:** [June 10, 2019, 8:29pm UTC](https://forum.defold.com/t/creating-a-physics-joint-between-two-or-more-physical-objects-def-3025-solved/1147/19 "2019-06-10T20:29:41Z")

</div>

[Solved in 1.2.156](https://forum.defold.com/t/defold-1-2-156-has-been-released/54508)
