Problem with Animations

Hi, i’ve added some animations to my character and they work perfectly fine, but when i add these same set of animations to an NPC (who’s following me) it doesn’t work. Can someone help me because i genuinely am stumped, thanks.

Hi @Ehsaan_Khan and welcome,

Are you able to share a sample project that reproduces the issue? We will be able to be of more help then.

https://playcanvas.com/editor/scene/1220171 here you go

Hey @Ehsaan_Khan! I just took a look. You are supposed to control the anim state graph with your script, it seems you are not doing that yet.

I’m not sure i understand. can you explain further?