Speed explanation

Hello all,

Could you please correct me if I have wrong understanding of this lecture.

  1. For now, our blended space animation depends on the speed, which we get from the Pawn. Do I understand right that the vector length is the direction+distance travelled by our character per tick? Is it something which is pre-configured by physics of UE? I don’t recall we were setting any float for speed of our character.

  2. Then I have another question: how to derive and manipulate the speed of our character?

Thanks & regards!

No, a velocity is a vector quantity, it contains both magnitude (aka length/size) and direction. So the length is the magnitude/size part of the velocity.

It’s just Pythagoras’ Theorem. For the 3 dimensional vector (1,2,3) the length would be

length = √(1² + 2² + 3²)
length = √14
length = 3.74

The velocity is coming from the anim instance as denoted by the target on the node.

On the character movement component search for “speed”.

This topic was automatically closed 24 hours after the last reply. New replies are no longer allowed.

Privacy & Terms