Skip to main content

On Sale: GamesAssetsToolsTabletopComics
Indie game storeFree gamesFun gamesHorror games
Game developmentAssetsComics
SalesBundles
Jobs
TagsGame Engines

Unfortunately had a bad bug where my fishing line got stuck on the bottom of the boat and then I was just stuck. could not reel in, could not cast, just stuck in the water. happened to me twice. I really wanted to see what came next. I loved the creepy music from the radio in particularly. The vibe was good and creepy. I don't know why the private investigator wanted to go out at night to do his research on this chemical spill. :). I thought the fishing physics were done really well, in fact, I would like to know how you did it! Great game!

Thanks for the comment Cobolt! There are quite a few bugs so I am not surprised you ran into one. It happening twice is a surprise though... unlucky I guess. Anyways, the physics for the rod was a bit of a struggle to get right. The rod itself uses inverse kinematics. 

The rod bends from the tip load generated by line tension. The line is a chain of point with adjustable-length constraints, advanced with Verlet integration. Because tension can point in any direction, forces are computed per segment of the line and summed at the ends to get the tip load. That tip force drives the rod-bending inverse kinematics. I solve in both directions so force also get applied to the lure. I did a few extra cleanup steps to have the line straighten out faster. I wouldn't recommend doing something like this for a jam... It took almost 600 lines of code and I spent days writing the script... In addition to the rod bending I also had a rotation script that uses the tip force to determine the max allowed angle of the rod. Meaning more force = more angle

(1 edit)

Thanks, yeah it was really well done. That hard work paid off for sure. Great job