Writing a new KCC based on bullet?

Writing a good kinematic character controller for one specific game is not a task for beginers. Big game companies are challenged with this task, and frequently they deliver bad results. Even more difficult is to write a generic KCC which is suitable for any game.

I suggest you check out this thread [New Bullet Character Controller), and try to figure out what you are missing (features/issues/…). Then try to understand what coppertop has done, and ask questions about how it could be added to his code.

Coppertop is the one guy around here who has the most experience with KCC. So this is really the best place to start.