Download

use state machine

Hello

I wanted to know how to use the state machine because I do not understand the logic I know that the first task and idle but then I no idea how his work and that what one could do me a small drawing with the name of puts animation?

ANIMATION:

http://www.mediafire.com/download/w6r1z7a1b0q8tw1/running_crawl.fbx (running_crawl)
http://www.mediafire.com/download/gbjopsu74s3cyx3/zombie_attack.fbx (zombie_attack)
http://www.mediafire.com/download/4hzpcihq85lc2a0/zombie_biting.fbx ( zombie_biting)
http://www.mediafire.com/download/sr1hfndjagi2x2l/zombie_biting_1.fbx (zombie_biting_1)
http://www.mediafire.com/download/096ouhc0aseoqsw/zombie_crawl.fbx (zombie_crawl)
http://www.mediafire.com/download/1nze6n2r8b3p3u6/zombie_death.fbx (zombie_death)
http://www.mediafire.com/download/7zfujojb2g4zn4y/zombie_dying.fbx (zombie_dying)
http://www.mediafire.com/download/imwixbr4srq2hru/zombie_idle.fbx (zombie_idle
http://www.mediafire.com/download/lfi6ixcq4anc38q/zombie_neck_bite.fbx (zombie_neck_bite)
http://www.mediafire.com/download/oz9nxigzgfvyonz/zombie_run.fbx (zombie_run)
http://www.mediafire.com/download/isx8bjqw0b2g0rs/zombie_scream.fbx (zombie_scream)
http://www.mediafire.com/download/wkhoy6ukwgpx0w4/zombie_walk.fbx (zombie_walk)

On a state machine you are

  • always on a state
  • you can only move from one state to other if there is a path from that state to the other
  • those paths have conditions, s you an have more than one exit from a state, but the conditions should be different.

So you will need to make a drawing of circles (states) for all the animations you have, then draw lines like you are idle and then you can go walking and then go running, so you know you cant jump from idle to running without passs walking first.

When you have that drawing, you will be able to make a similar one inside UE animation state machine.

There are even good tutorials regarding that topic:

https://www.youtube.com/watch?v=ZezNr-DOSRI&index=10&list=PLZlv_N0_O1gZS5HylO_368myr-Kg2ZLwb

Actually if you would “cheat” a bit and just get a quick start and look how far you could get then create a blank new third person template project, import your own mesh and set it up for retargeting animations. Instead of retargeting one animation after each other and put them together into some animation blueprint with state machines yourself you could just search the “ThirdPerson_AnimBP” anim blueprint rightclick this one and choose “Retarget Anim Blueprints” … and choose your own skeleton. This would create a copy of the anim blueprint (including its state machine) and a basic blendspace (idle walk run) for your skeleton mesh. Afterwards search the “ThirdPersonCharacter” blueprint and replace the UE4 mannequin mesh with your mesh and the original anim blueprint with the copy of the anim blueprint that you’ve created via retargeting (you should find all those new copies in the same folder where you’ve stored your own skeleton). Delete the mannequin guy (that one with the camera behin) in the third person map (usually you should still have a spawn point somewhere in the map by default) and click start. That way you should be able to run and jump with your own mesh in the third person template below one minute or so. Afterwards you would add some further states like crouch or combat stuff and could come back into that anim blueprint. I could recommend this tutorial series: https://www.youtube.com/watch?v=deHTxvogJNI

I will end up giving you money neutronux again thank you lol

or I just found her or where or what that one would come on this post

https://www.youtube.com/watch?v=tyYTYF0G5Kk

quick question I do not know if it 's happening in blender or EU4 but I wanted to know how to play a annimation on site.

sorry I would make a video if you do not understand

I don’t understand “on site” … could just guess: Maybe you mean an animation montage? Like to override some ongoing animation with something that happens dynamic? Like some “he fired NOW and should do some throw back its upper body a bit anim”? In that case just follow the https://www.youtube.com/watch?v=deHTxvogJNI tutorial until you reach the “fit and unfit” part. To be honest I owe this guy at least beer …or probably a few more (seriously). :wink: - His tutorial is perfect until you get to something like “multiplayer replication”. But even this could be done. I love this engine :slight_smile:

leave again 3000 years back and talk hieroglyph xD

and what it is more appropriate “run on its”?

here is the video: https://www.youtube.com/watch?v=d8V4fAvunJ8&feature=youtu.be

The mannequin in your video is using In Place animation (root bone keeps it’s position) while the animation of your character uses root motion: https://docs.unrealengine.com/latest/INT/Engine/Animation/RootMotion/index.html - If you would remove the root motion then take a look at the animation in Blender and how it would look if you remove the movement of the root bone in the dopesheet of Blender. Probably you have to add some up and down movement to the pelvis bone (depending on the animation) yourself. In my opinion it’s easier (espacially if you would go for multiplayer later) to use inplace animations and push and pull around the translation of your hole character in the speed you like yourself. But from animators sight of view you might get better results with root motion (because the speed usualy fits perfect to the animation so the feet does slide over the ground). There are tutorials for creating a root motion controler as well: https://www.youtube.com/watch?list=PL5BaCj8qGxsD1qcTLKU7YVUtKgV9jZenZ&time_continue=15&v=i6SUqg1N2_s

I board delete animation keys and a walk except for one animation

I’ll try to find my (foolishness?)