translate direction and speed to values for moveright and moveforward
I have a animation blueprint I'd like to share between the player character and AI driven bots. The animation blueprint currently is driven off of values obtained from MoveRight and MoveForward axis values. However for AI driven bots, these are obviously not getting triggered since there is no keyboard/gamepad controls controlling AI bots. Question, is there a way to translate "direction" and "speed" in the event graph into values for moveright and moveforward?
in the event graph for anim blueprint, I can get access to TryGetPawnOwner->CalculateDirection and TryGetPawnOwner->GetVelocity->VectorLength->Speed
Is there a way to get the direction and speed and translate it to values for "moveforward" and "moveright"?
asked Jan 08 '17 at 04:39 AM in Blueprint Scripting
Follow this question
Once you sign in you will be able to subscribe for any updates here