What code would I need to make you can climb

I want to make it so you can climb up thing + I want it can be like a big monster like in shadow of the colossus. How would I go about that, and what code would I need?

Any help would mean a lot.

Typically you would use triggers in the world to tell the player when to go into “climbing mode”. You could have a ladder object with a trigger on it. When the player collides with the trigger you would need to tell the animation to play climbing animations, disable gravity and constrain the movement to up and down. You then need a way to know when you exit the ladder to go back to a normal movement mode. Different triggers could be used for this as well. Hopefully his will point you the right direction for a possible system and aid you in your research.