Creating rope physics using matterjs within Phaser


I am trying to develop a game that involves rope-like physics. The rope is segmented into a bunch of tiny images to allow fluid movement – unfortunately the example on Phaser 3’s website is not suitable due to the rope segments rotating in random directions.

Any thoughts on how I could accomplish this?


I have created a bridge with matter. If you only attach it on one side, it behaves like a rope. Hope this helps :slight_smile:


Hey Yannick, thank you for that post – it’s definitely helped me quite a bit.

So far I do have the rope somewhat working, but I want to make the rope unstretchable when dragging it with the mouse.

Here is a testing CodePen:


Glad it helped :slight_smile:

I’m sorry, but I do not know how to make it stiffer. The doc only says A value of '1' means the constraint should be very stiff.

I guess very stiff does not mean riged or fixed :thinking: