Play Blendspace 1D in ABP Template

I want to create an Animation Blueprint Template.
I need to know how to play Blendspace 1D.

I could not find a way in Blendspace1D that would expose the pin like SequencePlayer, so I created Blendspace1D in Template as shown in the following image.

I just created a child ABP based on this Template and set the AnimationSequence for Idle, Walk, and Run respectively.

Using this method, the Walk animation always plays, no matter what the Speed value is.
This is why I are having trouble.

It would be helpful to know how to play Blendspace1D for a character in Animation Blueprint Template.
Thank you for reading.

Hi DROSS_JP,

In your ABP’s EventGraph, create a variable called “Speed” - make it a float, then from the
EventBlueprintUpdateAnimation event, set the speed like the snapshot below.

Then you can hook that Speed variable into your IdleWalk Blendspace…

Thanks for your reply.
I think I have already been able to change Speed by placing it on the event graph.

I have confirmed that Speed is changing in Debug as well, but for some reason I don’t think the animation output from Blendspace1D is changing.

1 Like

In the BlendSpace - have you made the range cover the speed of your character? I use the range 0-1000 - 1000 is for sprinting - walking is usually around 300.

The settings are like this and there should be no problem.

Now the obvious problem is that Walk is playing when Speed is 0.
I have already done many times to play Blendspace1D with a simple ABP without using the Animation Blueprint Template, and I don’t think there is a problem. I think the problem is not so much my Blendspace1D setup, but rather that I don’t know how to use it with Template.

Yeah if it’s working OK as a simple ABP chances are it will be one of your variables/links not set for the idle - or there is something inherent not passing speed through…