Branch not working properly

The character controller is kind of custom, it could be that…