- Home /
how to rope climb
i have a rope thats i can latch onto (be parented to) and swing with it. i make my player into kinematic for this. the rope has 5 joints, each a rigidbody and box colliders which are triggered. My question is how to i climb up and down the rope while its swinging AND also stay close to the rope.
$$anonymous$$e : You need to be able to go from joint x to joint x+1. You can animate the modification of height because the pivot wouldn't be correct and the parenting would fail (the character wouldn't seem to be accurately attached to the rope. I suggest you go from x to x+1 with a Lerp and animate just the hand / feet.
samz : sorry i dont fully understand. so if the users holds the up arrow to climb, i should have the player animate up the rope?
$$anonymous$$e : Hold on, I need to draw you a picture to show you what I mean. I'd love that feature on Q&A by the way, if a $$anonymous$$m members sees this :p
[Edit]Actually, I'm not so sure. I move this answer to the comment to let people with experience in this area answer.
the mass is 1 and the length is....i have no idea to figure that out lol, its an import from maya, its not long tho, scale is 1, 1, 1??? lol
Your answer
Follow this Question
Related Questions
Lerp doesnt seem to work 1 Answer
Climbing up solution 0 Answers
How to climb a rope? 1 Answer
how to climb a vine in 2D gameplay? 1 Answer
Is this how a ladder collider works? 1 Answer