2
\$\begingroup\$

I have blend tree with four different turns: a sprinting turn, running turn, walking turn, and standing turn.

I need to somehow make the angular velocity increase from sprinting down to standing, so that as the character gets slower he turns faster (otherwise it is basically unplayable).

How do I increase the angular velocity of an individual animation in the blend tree? The usual "speed" attribute disappears when I put the animation in the blend tree...and I have not figured out how to access the blend tree substate from code yet.

Here is an image of the blend tree, and the inspector:

enter image description here

enter image description here

\$\endgroup\$

1 Answer 1

2
\$\begingroup\$

There's a speed field in each line of the blend tree. It's the column with the clock icon. You can use that to adjust the speed of each animation.

You can see it in the last image on this page: http://docs.unity3d.com/Manual/class-BlendTree.html

\$\endgroup\$
1
  • \$\begingroup\$ Lol, I had hardcoded a speed increase corresponding to the blend in the script. Thank you--that makes it much easier. \$\endgroup\$ Commented Jun 10, 2016 at 13:45

You must log in to answer this question.

Start asking to get answers

Find the answer to your question by asking.

Ask question

Explore related questions

See similar questions with these tags.