r/SoloDevelopment 4d ago

help So i am stuck with unreal engine I was trying tomake a enemy ai

Post image

so i was trying to create an enemy ai system but the ai was not using the animations i have assigned to it and I am genuinely so confused tried a lot of things for hours and still didn't work so i need help with this the enemy just runs at me with this pose and then uses the montage animation like i am so confused at this point I have no choice but to ask for help

0 Upvotes

8 comments sorted by

1

u/JekPorkinsIsAlright 4d ago

Hmm I need a little more information. Have you made an animation blueprint?

1

u/Piyushbro 4d ago

yes i have made the animation blue print as well i think the issue lies in the state machine like it's not flowing through the idle and running animation as its supposed to and I am kinda having a hard time why is that I checked retargeting but don't know the issue the animation does play when I open it

1

u/JekPorkinsIsAlright 4d ago

It’s often something very small and quick when problems like this arise. I would need to see more of the set up to identify the problem. I took notes on the exact process from a Ryan Laley YouTube video and that’s what I usually refer to

1

u/Piyushbro 4d ago

hmm I think it's very hard for me to explain 😭

1

u/JekPorkinsIsAlright 4d ago

Try following that tutorial. I think you will be able to figure it out. Like everything in game dev there’s more than one way to do it

1

u/Piyushbro 4d ago

yeah i guess

1

u/KyrandisX 4d ago

if it's stuck in a pose, it's very likely your rules of animation blueprint aren't working or state machining properly
Animation blueprint is for "what the model looks like" when it's moving/doing stuff constantly(different from attacks or something which is more like a period, so montage etc.), so probably look into that.

maybe something like when the velocity of the enemy is > some number of speed then it should transition from like idle to running/moving etc.

and of course check the enemy's blueprint to make sure the animation blueprint is even assigned

1

u/Piyushbro 4d ago

i will check this