How to get speed from timeline movement

Hi, I have an object that moves up and down by using a timeline, now I have to get the speed of the object so I can use this speed to move other objects. In the blueprint I used a math equation to calculate the speed, I have the displacement in Z and I divide that by delta seconds. But now for example like you can see on the picture, I have a displacement of 30cm which results in a speed of 1800. But this isn’t correct because the object moves from 0 to 30 cm in 0,5 seconds. So how can I get the right speed from the object?

That because you have to multiply by Delta Seconds, not divide by it. Delta Seconds is time betwen two frames, so its value is 0.01 or something like that.

Edit: note that if your actor moves not uniformly, but eases in/out, the velocity that you’ll get by multiplying distance by Delta Seconds won’t always reflect the true velocity, just average between those points. If you want to drive something else by feeding this velocity value into it, it may be not reaaly what you would expect. Can’t you move the other objects with the same Timeline?

Multiply isn’t correct I think? Then the speed is much smaller then expected…

Omg, sorry, sure, I was thinking the other way around. My bad.

What is that -96 value? You have to save value 1 on first tick, and value 2 on second, and then compare them. But you have a constant value of -96.

The -96 is just to get 0 as beginposition