Godot Version
4.2.2.stable.mono
Question
Hey guys, I’ve got a question about BlendTrees and StateMachines. I had a StateMachine controlling my walk animations, I had a BlendSpace2D blend between the different walking animations and idle. I also had attack and other animations coming from and going to the BlendSpace2D. However I want to control the speed of the attack animations based on player stats. It seems the way to do that is with a BlendTree as the root of the AnimationTree and then adding a time scale. I’m not sure how to handle this though. Should I ditch the StateMachine completely and just use a BlendSpace2D? I tried to create a StateMachine within the BlendTree but it doesn’t play when connected to output. I’m not sure why the StateMachine(which contains the aforementioned BlendSpace2D) doesn’t play when connected to the output of the BlendTree. Is there a good way to add the StateMachine I was using into the BlendTree Any help or suggestions that anyone can give would be greatly appreciated. Thanks