I have a ball hovering over a baseplate and when I release it I want to know how strong it hits the floor, but I don't know how to measure it correctly.
I've tried something with the Y axis velocity:
ball.Touched:connect(function(baseplate)
print(ball.Velocity.Y)
end
It's quite simple, but doesn't work. The problem is that when it hits the baseplate, it bounces instantly and the printed result is small and positive. Maybe the Touched event is slower than the physics rendering, so that method is useless.
Any suggestion to help me?

3 comments
Doesn't make sense.
I thought of something like a loop, but then I would have to make a separate script. Anyway, I didn't get what you did there in the last lines, could you explain?
He's basically using a while true do loop to update the variables "velocity" and "velocity2" every 1/30th of a second. When the object touches the baseplate, it'll set the variable "touched" to true, and that will in turn break the loop causing the velocity to no longer update. That way, the velocity variable will be what the velocity of the object was once it hit the baseplate