Add 2 animations in one entity

Hello, as you know I’m new and I have many questions, one of them is how to add two animations to an entity, in my case I want the entity to be stopped and move from time to time and when it sees the player it runs away him, but the program won’t let me put more than one animation by entity, any way to help me?

Hi @Ricardo_Reyes!

You can add more animations if you create more states in your Anim State Graph. It can be a little bit difficult to setup some working animations with the new Anim component. The page below can help you.

https://developer.playcanvas.com/en/tutorials/anim-blending/

2 Likes

good morning and thanks @Albertos
some way to make an entity when touching the player is player has to return to the point of generation I don’t know if you understand me
.