Now i have made a character i control third person with skeleton and clothes and whatnot, however i am trying to make a moving zombie with animations… I have a zombie looking character already which has a skeleton and my plan was to make it so its idle then detects and walks to me, i have the idle and walk animations needed i have tried adding them to blend space but it just goes on walkies straight away, i don’t know how to make it so once the game is played they’re in idle until i am detected and walk over to me, iv watched a lot of tutorials but its all gone too confusing, help?
What are you using to move the zobies? if you are using a movecomponent to node or navigation method then maybe you could use a trigger box in the zombie blueprint and set it up so that once the player character is within the collision box you switch the tracking on.
Around 5:10 he adds a 'detect player' cone where the enemy starts following when you are near.I thought i could make the zombies always have the animations so whenever i get into view they walk after me, when i mean always, just like how ur main char always has the animation
I’m sorry I didn’t get your question. So are the zombies actually animated? are you trying to have the zombies use the idle animation until you get close and then they start laying the walk animation and walking to you? If that’t the case then you can use a StateMachine in which you set the transition condition from idle->walk a distance between your main character and the zombie.
Here is the documentation to state machines:
Though I think this video covers what you’re trying to do the best:
https://docs.unrealengine.com/latest/INT/Videos/PLZlv_N0_O1ga0IoRrpI4xkX4qmCrhGu56/NYFeFUxU6DI/index.html
You won’t need a blendspace, and your Statemachine will have only two nods, Idle and Walk. The transition rule between these two states should be the distance between your player character and the zombie. You can calculate this distance in the event graph and store it as a variable there to reference it in the AnimGraph. Hope his helps.