I'm working on a feature that will make it possible for a player to catch another player and connect them using a "rubber band". As the player moves around the player that got caught will swing around using a spring simulation. I've tried several math formulas but none of them seem to accomplish what I had in mind. This GIF is a perfect example of what I'd hope to accomplish. Red box = player, Blue cirlce = player that got caught Hopefully somebody can help me out with this.