Hi there, I'm trying to implement a grappling hook feature since I can't find so much tutorial about this (outside of using a physics engine), i'm reading teeworlds source code. Am I at the right place to ask some questions ?
So what i'm looking for is only the part that handle the physics of the player once it's hooked to an obstacle (only physical tile, no moving obstacle)(edited)
A retro multiplayer shooter. Contribute to teeworlds/teeworlds development by creating an account on GitHub.
20:57
My physics system atm is really simple, two vector2 (position and velocity): change velocity depending on the inputs, applying it to position then check and resolve collisions (basically put my player on the side of the colliding obstacle and reset velocity on this axis)