CharacterController class entity sticks to walls.
Posted: Thu Jan 06, 2011 12:07 am
I've created a CharacterController class and assigned it to a camera.
Unfortunately the controller entity will stick to triangular walls if the camera is in mid air so the camera no longer rises or falls depending on the current velocity of the jump cycle.
Also, the camera velocity isn't preserved in the direction of the movement when the entity is controller entity is touching a wall. In other words a sliding response is slower than it should be as if the friction of the wall was very high.
What might be the cause?
Unfortunately the controller entity will stick to triangular walls if the camera is in mid air so the camera no longer rises or falls depending on the current velocity of the jump cycle.
Also, the camera velocity isn't preserved in the direction of the movement when the entity is controller entity is touching a wall. In other words a sliding response is slower than it should be as if the friction of the wall was very high.
What might be the cause?