Unity Character Controller Bug Fix

Job ID: 30802858

Budget: $10 – $30 USD

I'm currently trying to create a character controller based off of the new third-person controller from the new standard assets package released by Unity. My goal is to be able to change the direction of gravity into all four directions on demand (up, down, left, right). I've got the up and down directions working as intended, but I've reached my limits trying to figure out what I'm doing wrong with horizontal gravity.

In my frustration, my code is a little unoptimized and a bit of a mess. It's just one script, not too long. I would appreciate any help in trying to identify what I'm doing wrong or what I'm missing here. I've got the gravitational force working as intended but I'm missing something to produce the correct walking ability and animation.
Related categories: C# Programming Unity 3D Physics Game Development