How to get speed of an actor (not character)

hey, I have a ball with a physics thruster attached to it, and I want to get it’s speed as it accelerates. how do I get it? it has to be the speed towards the direction of the movement, as the movement might change, but I only know how to get the forward vector of the sphere, and it’s not facing the direction of the movement.

also, how to translate it to an useful unit such as m/s or km/h?

[Get Velocity] → [Vector Length] should do the trick.

And in general in UE 1 unit == 1 centimeter, so 100 units == 1 meter.

1 Like

You can use getVelocity - Vector Length. That gives you centimeter per second and then multiply it with 0.036 to get KM/h and with 0.01 to get meter per second

More info: Convert Centimeters per Second to Kilometers per Hour