- #1

Gigs_

- 3

- 0

Hi all!

Im working on a small 3d tennis game, but I am not good with math.

Can anyone make me algorithm for tennis ball movement (simulation).

I have this parameters: ball starting point (x=left/right,y=up/down, z=is forward/backward), ball ending/bounce point which y is always 0. y at (z=0) should be 40, spin parameter which is basically here just to make ball goes over net in different situations. So basically i need to calculate parabola.thanks!

Im working on a small 3d tennis game, but I am not good with math.

Can anyone make me algorithm for tennis ball movement (simulation).

I have this parameters: ball starting point (x=left/right,y=up/down, z=is forward/backward), ball ending/bounce point which y is always 0. y at (z=0) should be 40, spin parameter which is basically here just to make ball goes over net in different situations. So basically i need to calculate parabola.thanks!

Last edited: