Hello, i have quickropes 2 for my rope simulation, i would like to know how can i make a real working grapple? One that spawns and shoots upward then makes the player swing and then retracks. How can this be done? i have looked all over the internet for 3 days.
1 Answer
11.Spwan rope and grapple
2.shoot rope and grapple, maje rope start point and end point longer and parented to the player and the grapple
3.grapple sticks on collision add force to push player up and parent player to rope and use force to move rope
4. un parent player from rope and retract rope back to player
5.Repeate the process.
Yes lots of code is going to be needed.
this would certainly be hard in Unity, in a game engine. it's more a non-real-time problem for Bullet physics, say. If your rope is working good, simply attach a HEAVY object on the end, and shoot that heavy object upwards. You never rknow
– FattieOk, but does anyone know how to do this?
– Chris12345Could try AddForce or AddRelitiveForce then set up a check if it hit an object that you allow to be grappled.
– bodecOk thanks, will look into it.
– Chris12345well you would just set velocity on the "hook" object on the end. I mean that's pretty basic. then when it touches a collider ... simply stop it moving, it's that simple. but that's the easy part fooling with the chain is the hard part ! for basic physics articles, unityGEMS.com
– Fattie