{"action":"created","issue":{"url":"https://api.github.com/repos/highfidelity/hifi/issues/6158","labels_url":"https://api.github.com/repos/highfidelity/hifi/issues/6158/labels{/name}","comments_url":"https://api.github.com/repos/highfidelity/hifi/issues/6158/comments","events_url":"https://api.github.com/repos/highfidelity/hifi/issues/6158/events","html_url":"https://github.com/highfidelity/hifi/pull/6158","id":112916574,"number":6158,"title":"Synced blending for avatar movement animations","user":{"login":"hyperlogic","id":20499,"avatar_url":"https://avatars.githubusercontent.com/u/20499?v=3","gravatar_id":"","url":"https://api.github.com/users/hyperlogic","html_url":"https://github.com/hyperlogic","followers_url":"https://api.github.com/users/hyperlogic/followers","following_url":"https://api.github.com/users/hyperlogic/following{/other_user}","gists_url":"https://api.github.com/users/hyperlogic/gists{/gist_id}","starred_url":"https://api.github.com/users/hyperlogic/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/hyperlogic/subscriptions","organizations_url":"https://api.github.com/users/hyperlogic/orgs","repos_url":"https://api.github.com/users/hyperlogic/repos","events_url":"https://api.github.com/users/hyperlogic/events{/privacy}","received_events_url":"https://api.github.com/users/hyperlogic/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":11,"created_at":"2015-10-23T00:10:16Z","updated_at":"2015-11-02T20:59:32Z","closed_at":null,"pull_request":{"url":"https://api.github.com/repos/highfidelity/hifi/pulls/6158","html_url":"https://github.com/highfidelity/hifi/pull/6158","diff_url":"https://github.com/highfidelity/hifi/pull/6158.diff","patch_url":"https://github.com/highfidelity/hifi/pull/6158.patch"},"body":"This adds separate animations for fast and slow avatar movement, which are dynamically blended and time-scaled at run-time to minimize foot slipping.  A new AnimBlendLinearMove node was introduced to the AnimGraph to support this.  This node maintains a list of characteristic speeds for each of its child animations which it uses for reference.  At run-time the Rig will set a desiredSpeed and alpha animVar.  The implementation of the AnimBlendLinearMove node will calculate the proper playback speed necessary to achieve the speed desired.\r\n\r\nFor the forward state, there are 3 animations, short walk, normal walk and run.  Backward and lateral movement only has two animations for blending, short and normal.\r\n\r\nIt also includes some other misc animation changes.  Including:\r\n\r\n   * AnimClip::accumulateTime is moved into AnimUtil as a pure function for reuse and unitTesting.\r\n   * The AnimPose class was moved out of AnimSkeleton into its own compilation unit.\r\n   * Unit Tests for AnimUtil::accumulateTime were created"},"comment":{"url":"https://api.github.com/repos/highfidelity/hifi/issues/comments/153154853","html_url":"https://github.com/highfidelity/hifi/pull/6158#issuecomment-153154853","issue_url":"https://api.github.com/repos/highfidelity/hifi/issues/6158","id":153154853,"user":{"login":"howard-stearns","id":7015115,"avatar_url":"https://avatars.githubusercontent.com/u/7015115?v=3","gravatar_id":"","url":"https://api.github.com/users/howard-stearns","html_url":"https://github.com/howard-stearns","followers_url":"https://api.github.com/users/howard-stearns/followers","following_url":"https://api.github.com/users/howard-stearns/following{/other_user}","gists_url":"https://api.github.com/users/howard-stearns/gists{/gist_id}","starred_url":"https://api.github.com/users/howard-stearns/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/howard-stearns/subscriptions","organizations_url":"https://api.github.com/users/howard-stearns/orgs","repos_url":"https://api.github.com/users/howard-stearns/repos","events_url":"https://api.github.com/users/howard-stearns/events{/privacy}","received_events_url":"https://api.github.com/users/howard-stearns/received_events","type":"User","site_admin":false},"created_at":"2015-11-02T20:59:32Z","updated_at":"2015-11-02T20:59:32Z","body":"I still some judder, mostly mac, but let's deal with that (or not) after merge."}}