How to move left/right while climbing ladder?

I want to make a ladder where you can go left right while climbing by pressing A and D keys on keyboard. Is there an easy way to do this? Thanks in advance!

1 Like

Given roblox’s own ladder restraints, you’d have to create your own, however with this you get given more options on how you actually do it.

Firstly, you could simply update the players CFrame every frame, as well as using acceleration values to determine how fast they go. This gives you more freedom but can be cost inefficient if done wrong and also exploit prone.

Next, you may want to use one of Roblox’s base velocities, i.e. vectorForce, BodyVelocity, etc. While offering less customization, they’ll be able to do just what you need them to do.

Thirdly, you could just use a normal ladder and move the player left and right across it by just updating their position, similar to the first method however without the up and down motions. While this is a bit of a hacky solution, it would still work as you need, with some set backs.

This will all, however, talk some time to make. From my knowledge, there is no easy way around it.

1 Like

Thank you very much for this detailed reply! This is very helpful :smiley:

1 Like