|
Sort of a pain but I suppose you could have a body act as that part of the floor above the ladder, and then disable that body when:
(a) the player's y position is below the body (sor that they can climb up)
(b) the player's position is above the body and they are pushing the down arrow key (so they can climb down)
You still need to figure out the ladder effect though - I'm thinking for that maybe you just manually update the player's y position and make the player's body static while they are climbing.
|