14 Add Animation Controller

Поделиться
HTML-код
  • Опубликовано: 29 сен 2024
  • When the character is moving, we want to apply walk animation to it. When stopped, we want to apply idle animation. I also want to have different animations when user is moving - walk, walk fast and run depending on the input. When using the keyboard, there are only two states for up key - i.e. pressed or not pressed. However the on-screen joystick has many in-between input values. So, I used Bind Tree in the Animator to apply the same walk cycle at different speed (for walk, walk fast and run) for different value of "speed" parameter, which is set from the script. Of course, instead of reusing the walk animation, you can create separate animations (in Blender) for walk fast and run.
    See the playlist at • Blender + Unity : Stic...
    See the blogpost at ramkulkarni.com...

Комментарии •