Download

Trouble passing varible form pawn to aniationbp

Hello,

I’m trying to pass the input axis data from the pawn to the animation blueprint.
So in the pawn I have the imput axis dump into a varible called AxisSpeedForward.
Then in the Animation blueprint I cast as the pawn and get axisSpeedForward and dump it into another variable called speed.

In the pawn this works fine, but in the Animation Blueprint, the value keeps jumping between 1 and 0.
What am I doing wrong?

Scott