Third person character animation

Hey everyone,

I’m creating a 3rd person character and wanted some advice on blend trees.

I want to create a character that can move forward, diagonal & strafe left/right.

So far, my character can walk, jog & sprint depending on input but I cant seem to blend in the strafe / diagonal movements without it being “glitchy”.

Does anyone know how I could do this or point me in the right direction?

Any help would be appreciated, thanks.

My suggestion would be to take a look at Mixamo. Lots of good animations including strafing, etc. I’m having some minor difficulties with it but that’s due to my own lack of scripting knowledge, seems like it should be what you’re looking for.

Hey @wilhelmscream ,

Thanks for the reply.

I actually have all the animations I need, I’m just having problems creating strafe movements in my animator blend tree.

As in transitioning from one to another? I’m kinda new to animation so I may not have all the vocab down right

Yeah, exactly.

I’m not sure how to blend my strafe animations and make diagonal movements too.

My character walks, jogs, runs and rotates according to the camera but I cant figure out how to blend strafe animations(when pressing A & D) or diagonal movement(when pressing W & A or D).

I suppose I’ll have to do diagonal movement via script but strafing seems to elude me.

I’m pretty new to using blend trees. I only know the basics.

That’s why I mentioned Mixamo. THey have a good number of animations designed specifically as that sort of transition (i.e., “Run to Stop” or “Run to Strafe” etc etc)

I played some games last month which has amazing graphics and awesome animations done. I liked it very much. You can take the help from internet or look at this site. It will help you in creating a 3rd person character.

How are you actually implementing the strafe?

In a 2D freeform directional blend :

2369838--160934--blendtree.png

2369838--160935--2Dblend.png

The problem is that when I move diagonal (pressing W + D or A). The animation blends with the strafe animation which makes it look “glitchy” - legs crossing over another and all of that nasty stuff.

The strafe animation is an Idle Strafe. So it should only work when I’m idle and moving sideways, not when I’m jogging or sprinting.

Any advice?

Thanks.