Experienced coder to improve my Character Controller + moving collider fix script?

Its a script to fix the issue wherein the Character Controller pops up on the Y axis when it collides with a moving collider. I did my best but I’m just a novice coder :sweat_smile:

The script + info is here GitHub - mdotstrange/CharacterControllerCollisionFix: Unity Character Controller collision fix

Thanks for taking a look.

If you don’t want your default character controller to step up such huge obstacles, couldn’t you just tone down the slop limit and step height values in the inspector?