Hi!
I'm kinda new to Unity and trying to figure out what would be the best way to make the player being able to connect two objects with a rope.
For an example situation: The player and a ball are on a small platform, there is a roof over them and nothing at the left and right side of the platform, so they would fall. Then if the player shoots/puts the rope on the ball, then shoots the other end of the rope into the roof, and if he pushes the ball down from the platform, the ball would swing on the rope.
I found some tutorials on "[2D spiderman game][1]", where the player was always falling and you have to swing yourself by shooting web on the buildings, that okay for the first part, when the player shoots it out, but how do I make the other end to leave the player on the second shot?
After reading and watching tutorials I know that probably I should you the cloth physics and connecting the objects on collison, but I'm still stucked.
Any help is greatly appreciated!
[1]: https://www.youtube.com/watch?v=qEFSohWYZSg
↧