Skip to main content

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

Yo! I'm curious as to how you (guys) made the wire visuals! If you could give me an idea of how you achieved it, or send me the source, that would be appreciated. Thanks!

(+1)

Hey Bounana!

We're using Godot, so it might be a little different depending on your engine.

The cable is a Line2D that has it's points populated by a Curve2D Node(generates bezier curves).

The second and third parameters on AddPoint are the in/out vector of the bezier curve.


Once we generate the points we apply them to the Line2Ds Points property. For the shadow we just copy the line 100 units down :)

Cheers,

Gallsy

(+1)

Hey, tysm! I also use godot lol (if you guys didn't I wouldn'tve asked. ) 

Thanks for the response!