Devlog 4 - Tutorial 2


Tutorial 2

For tutorial 2, I imported animations for my character, created a character script to handle all animations and input controls.
The gif above contains the character walking/running into the door trigger which makes the door disappear and then stopping and quickly waving.
For transitioning between idle and walking/running, I simply created a bool in the animator controller called "Running". I also made sure the idle and walking/running animations had no exit time, so that there was no delay. Below is a code snippet to show how I transitioned between the 2 animations in code. This code is within the Update function.


Leave a comment

Log in with itch.io to leave a comment.