Indie game storeFree gamesFun gamesHorror games
Game developmentAssetsComics
SalesBundles
Jobs
Tags

Hi there, loving the kit bought it on the unity asset store. I'm building a grappling hook in space and I've got the rope being enabled and then shooting a hook with it attached to my shapce.

But any advice on how to set the length multiplier dynamically, like on keypress. There's no mention of this in the read me, but it mentions using the length multiplier for making a grappling hook when hovering over it.

Cheers and great work, Harry

(1 edit)

Hi! You can dynamically change the length of the rope by creating a custom script that modifies the length multiplier. If you set it to 0.9, the rope will become 90% of its original length and so on. In your custom script, do something like: GetComponent<Rope>().simulation.lengthMultiplier = myScaleVariable;

Hope this helps!

/Gustav

amazing nice one