A tutorial on how to fling out a hook and attach it to bodies in Matter Physics.

Article by Richard Davey. Posted on 1st Aug 2019.   @photonstorm

image

Emanuele Feronato writes: "Did you play Fling?

It’s a 2D platforming game with Grappling Hook as the only way to move, similar to my Mickey Hooks prototype, but the main difference is you actually fire the hook rather than tapping on the body you want to grapple. Something very similar to the Ninja Rope used in Worms game series.

So I changed a bit the code used in Mickey Hooks, I have to say Matter.js was a bit unstable when reducing constraints so I will need to find a workaroud to make things work better, anyway this is what I have to show you at the moment..."

Read More