|
Post by feartheway on Oct 19, 2020 8:30:59 GMT
I actually just requested this with the shooter add-on, but It'd be great to see a properly coded hook-shot/grapple system to go along with your first person mod. Essentially, if the item is equipped, ray cast a reticle from your "hookshot", and if the reticle hits a "grapple point" (Probably on a sperate layer), cast a line (I know spring joints are expensive..so I don't know if that's the answer), then pull the player to said location using a lerp function. I had it SORT of working before the 2.0 update, but sometimes the rag-doll physics would go absolutely nutty. i made a grapple gun for unity its open source c#, if you want to use it to do something special with it. it needs to be put into a gun, i need a decent rope system, i need some sort of first person camera limiter, it uses tags Hookable it integrates with invector lite free controller. My next step is putting in a proper rope rather than a line renderer if anyone can help that would be cool. I think it will be something to do with splines. pastebin link in video description.
|
|