C++ climbing and vaulting system

Ok, I’ve made a sketch showing what I got:

Any advice will be appreciated!!!