Hi there. I have a situation where I want to use keyboard keys (1-9) to trigger a set of animations. I’m using “Blend poses by int” so switch between animations and that’s working fine. I’m using the keyboard node to set a variable, and that variable is plugged into the “Active Child Index”. But nothing is happening when I press the keys during runtime. See pic below.
Looking at tutorials, it seems pretty straight forward. They just add the keyboard node and everything works. Somewhere I saw that I should add the “Enable Input” node, but I get an error saying the blueprint isn’t an actor. Although it’s the blueprint of my character that’s in the scene.
Any advice how I can get this to work? Am I missing a step somewhere?
This looks a bit weird can you show the all BP or is that it, what does the “Hand Pose” posses?
Also wouldnt it be easier to just plug to it "play animation"or “play anim montage” and then just pick the animation you want?
For Example:
In the Desired Player BP you add the key you want to activate the animation connect the Mesh to the animation node and choose the node it a bit primitive but I usually test stuff like this to ensure it works.
I got it to work eventually, but the only way I could get any keyboard input to work was through the level blueprint. So I had to cast a variable from the level blueprint to the character that was supposed to react to the key press. There has to be a better way, but this is what I ended up doing. Thanks for the feedback!