Im very new to Unity and C# I have been trying to make my character climb on ladders for hours and tried Character Controller Component and 20+ diffrent scripts but nothing is working. I am putting the script on the Player around the ladder I even added a spirit behind the tiles where the ladders and put the collider around them but nothing the character just falls as well not able to climb the ladder it seemed not to work for me here is the ladder Images:
What do you mean it just falls? Can you move your character at all? Do you have any collider on the ground to stop your character from passing through?
Yes, I have, the ladders lead 2nd Floor where the character has to go down and up but when I try going down the ladders I just fall and can't get up(climb up the ladders)the character can move left, right, jump.
You need to check the gravity on your character rigidbody while climbing otherwise the gravity will always take your character down.
There's a few ways to accomplish this.
113 questions
117 answers
55 comments
105k users