It’s been a little while since I used Playcanvas so I’m trying out the anim state graph for the first time, and having problems figuring out some really basic stuff.
For my simple test I have a little model with two buttons. I want the button animations to be pushable/clickable separately. For now I’m just trying to get one button to be able to fire from an idle state.
I’ve been looking at the Anim Blending tutorial to try to figure this out. For some reason the setup for triggering the second animation is just not working, and I can’t figure out why. It seems to be the same setup as in the tutorial, but it just doesn’t fire.
If I set the boolean parameter which is supposed to fire the second animation to default to true, then it does work. So it seems like the boolean is not getting set properly, but then if I check whether that is the case in the console, it does seem to be getting set to true. Totally confused…
Here is the project: PlayCanvas | HTML5 Game Engine
Would really appreciate any help getting this working!