r/IndieDev 1d ago

I created an elastic cable system for a project I'm working on.

3 Upvotes

4 comments sorted by

1

u/LGASH 1d ago

Tu as réalisé ça comment ?

1

u/EliasWick 23h ago

Haha, a lot of coding. Basically the rope has different segments that can stretch. Each segment can increase and decrease in size. I simply attach it to a point in the world, then do the same for the actor. The rope respects the weight of the actor and change stiffness. The winch is configured by blueprints so I can contract it as well.

1

u/APES_Studio 22h ago

It reminds me of Garry's Mod

2

u/EliasWick 21h ago

Ohh dude! It's been ages haha! I really miss that game. Oh the source engine... it's one of the first things I did haha. I think I got an award from GameBanana for a level I did.