camera following and character jumping

also added a ratio between forward and lateral velocity of the character