I tried to use cos() to programatically animate my prototype character and it made him run like an F-word...