Hi!
I have an issue with Anim component. I create this state graph and script to play different animations, but it’s not working and play only the default state animation.
May someone help me?
Hi!
I have an issue with Anim component. I create this state graph and script to play different animations, but it’s not working and play only the default state animation.
May someone help me?
Hi @Volodymyr_Protskyi! Are your console logs exectuted correctly? If so, can you share a link of your project please?
Yes, console logs executed correctly
I can’t share a link to my project because it’s a commercial project
I create a test project
@Albertos
link here - PlayCanvas 3D HTML5 Game Engine
I’ve looked at your project and it seems that setting the Root Bone of the anim component solves the issue.
I added a Root Bone, but it’s not working for me anyway. Maybe I should do something more
Be aware the exit time of your transitions is set to 1. That means the running animation has to finish first. If you set the exit time to 0 the animation changes immediately.
@Albertos thanks a lot, it works for me.
another question, if I have this type of state graph.
I want to run wave animation after appears animation is finished and then run talk animation what should I do?
I think your current setup should work. What is the current result?
@Albertos
Appear animation happening all time
You have to change the state for the condition of the transition to the appear animation after the animation is started.