Blend Tree Animations
author: Sephen SMothers
Posted on 06/07/2024
The Problem:
The animations for the player were very choppy and didn't seem natural. Before we were using animation states, and the animations would snap to the next one between states. For example, if I decided to walk forward and then strafe left the player would immediately switch to left strafe animation. It was also very confusing setting up all the transition nodes which led to some bugs.
The Solution:
I simplified the process by adding a blend tree and lerp between the values to create a smooth transition. The blend tree also allowed me to create a walk and run animations going in every direction based on if the sprint button is being pressed. Then in code I just had to set the float values of the animation parameters. I also went to the graph and added a jump animation that will exit if either the player is grounded or if the is jumping Boolean is false.
Get Mirrors
Mirrors
Status | In development |
Authors | Terror Forge Studios, TheCyanSage, SephenSmothers, ZechariahA |
Genre | Survival |
Tags | Horror, Multiplayer, Survival Horror |
More posts
- Inventory ItemsJul 26, 2024
- Shop WorkJul 25, 2024
- Yet Another LevelJul 18, 2024
- Leave Game FunctionalityJul 12, 2024
- The Next LevelJul 11, 2024
- AestheticsJul 06, 2024
- Added Lobby SystemJun 28, 2024
- Roaming EnemyAI ProgressJun 28, 2024
- A reflection of the work I did this week...Jun 28, 2024
Leave a comment
Log in with itch.io to leave a comment.