Hi, everyone.
I making a fan project hello neighbor, but I can’t making animation work.
Could someone help me?
Editor link: https://playcanvas.com/editor/scene/2322303
Hi @GAMEPIX!
I don’t see where you use animation in your project.
Can you share a bit more information please?
Its in folder Animations.
Yes, but I don’t see where you’re actually using it in your scene.
The page below explains the basics of setting up the animation, but the best way to make it work depends on the logic of your game
I tried to do it myself, but it didn’t work so I removed the animation from the scene.
Please set it up the way you think it should be, then I can check why it’s not working.
In progress
Now you can see
Your asset import naming is a little confusing. Please note that you don’t need a new model for each animation, so you can export the animation without the model and just use one model in your scene.
Other than that, make sure to use the anim component instead of the animation component and create an anim state graph as shown on the manual page.
I didn’t understand
Which part?
All
What I must setup in anim state graph?
Yes, otherwise your game doesn’t know which animation to play.
Can you do this, because I still don’t understand?
If you want to create a game, you’ll need to put in some effort. Start by following the steps and reading the manual first.
Ok

