Enemy with animation wont look at player

Can someone take a look at this please. I have added animation to my enemy and now he wont look at me. I have tried rotating him.

Hi @Mason_Rocchio,

Try sharing some details about your setup and even better a project url.

Ok here:

https://playcanvas.com/editor/scene/1444344

The enemy wont look at me with animation, but without it he looks at me.

I think that happens because the animation central bone is rotate 180 degrees, so when it’s applied you see that.

You can fix that in a number of ways, try adding a parent entity and have the model as a child, and then rotate that child model by 180 degrees. That will have it return to looking at front.

1 Like