Devlog 4 - Tutorial 2
UTAS KIT207 Portfolio » Devlog
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.
UTAS KIT207 Portfolio
More posts
- Devlog 5 - Self Study 3Mar 21, 2024
- Devlog 3 - Self Study 2Mar 14, 2024
- Devlog 2 - Tutorial 1Mar 12, 2024
- Devlog 1 - Self Study 1Feb 26, 2024
Leave a comment
Log in with itch.io to leave a comment.