Help with Tennis Ball Physics?

Blitz3D Forums/Blitz3D Programming/Help with Tennis Ball Physics?

The forum is locked. These are the original blitzbasic.com forums, kept so they can still be read. No new topics, replies or edits can be made here. To join in, head over to the Blitz3D+ forums.

If you know the heighth of the ball, you can calculate the
fime for gravity to carry it to ground. Knowing the time to ground, and the distance to be covered, you can calculate the speed that the ball has to be moving at to travel that distance before it hits the ground. Deciding how efficiently the ball absorbs and returns energy (say 85%) efficient, determines how high the ball will reach on its next rise. That determines how long it will take. That determines where the midpoint of its bounce would be. And you are back pretty much to the original state, except in a different location, possibly traveling in a different direction (deflection off of a surface). For greater realizm, you might want to reduce the velocity each time it strikes a surface (the effect of friction), so as the ball bounces in lower and lower arcs, the arcs reflect a more vertical rather than forward movement.

Actually, I read that the arc or a ball or cannon shot follows a parabola, and since the math for a parabola is fairly straightforward, it might offer you another approach.