Im also not good with the jumping physics. so how about you change it to make shadow land right when he is on top of a rail? If you jump too early to the rail pit. Yeah. Mistake triggers
I don't know, i learned the physics after like 2 minutes, so maybe you just have to get good