how to get speed of an object?

hey, I have an actor blueprint of a regular object, let’s say a sphere, and I’m adding impulse to it with some keys, and I want to print the object’s speed forward, regardless of it’s orientation. and I want that arbitrary number in some relevant unit, let’s say m/s. how do I do so?

get forward vector doesn’t help as this ball moves in all kinds of direction, not just forward.

Since you’re using physics to move the object, you can use the Get Velocity node followed by Vector Length node to get the velocity in cm/s.


perfect. solved