Skip to content

Instantly share code, notes, and snippets.

@aras-p
Created August 21, 2014 12:28
Show Gist options
  • Save aras-p/d345e7292b62e7844508 to your computer and use it in GitHub Desktop.
Save aras-p/d345e7292b62e7844508 to your computer and use it in GitHub Desktop.
mecanim per animation speed
Here's what the animation folks say:
"There is a speed per node in blend tree editor"
Now, if you need to change these speeds at runtime, then that feature is on their roadmap; for now you could do a workaround:
1. create a blend tree with 2 times the same clip
2. with different speeds (set in the editor)
3. then at runtime change the blend parameter of that blend tree; it will control the speed of the clip at runtime
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment