Monday, March 18, 2019

State Machines

Here are all of my state machines.

This one is for the base layer, for locomotion. Aside from a bunch of unused states floating around, we can see two blend trees, and a bunch of other states. These two blend trees handle character movement in all directions, and character movement while shooting. They then transition into jumping, which begins with an initial takeoff animation, into a midair loop, and finally the landing animations. The midair jump can also transition into a shooting midair looping animation if the player decides to fire while airborne. The landing animations then transition back into the idle and movement animations.


Here is a closer look at the Blend Tree for the idle state, base character locomotion, and sprinting. The one for strafing is just like it, except it has the animations for strafing while shooting instead.


Next, is the layer, masking over the upper body which controls aiming the rifle:


Blend Tree for upper body movement during locomotion:


Blend Tree for rifle aiming and firing, blends vertically between aiming up and down:


Last, is a layer that masks over the hands, keeping them gripping the rifle. This will be expanded to include the different hand motions such as punching and grabbing:












No comments:

Post a Comment

All Updated State Machines and Blend Trees

These are all of the State Machines and Blend Trees that I set up for my character in Mecanim: