I decided to have a go at knocking up a simply 3d tennis game, and I've got some basic graphics sorted, player movement, game structure, etc sorted. But I'm having some problems deciding how to implement the ball physics.
The idea was to make it a fairly arcade-y tennis game, not ultra-realistic phyics. Something like Pro Tennis Tour, only in 3d, if anyone's old enough to remember that ;)
Initially I figured I could just give the ball an initial vector and apply air friction and gravity each physics update. But that makes the game more complicated ( and hence less fun to play ) I really want the ball to always bounce around the same length ( just inside the baseline ) and only vary that a little. Thus I need the ball arc to be approximiately the same every time, and only adjust the speed at which it moves. But on the other hand, I don't want to make it ultra-repetitive and predictable. There has to be some room for variance.
I don't really intend implementing spin at this stage. I might add it in the future, but it's probably not something I would want to add at all for a pure arcade game.
Any suggestions/help greatly appreciated.
The idea was to make it a fairly arcade-y tennis game, not ultra-realistic phyics. Something like Pro Tennis Tour, only in 3d, if anyone's old enough to remember that ;)
Initially I figured I could just give the ball an initial vector and apply air friction and gravity each physics update. But that makes the game more complicated ( and hence less fun to play ) I really want the ball to always bounce around the same length ( just inside the baseline ) and only vary that a little. Thus I need the ball arc to be approximiately the same every time, and only adjust the speed at which it moves. But on the other hand, I don't want to make it ultra-repetitive and predictable. There has to be some room for variance.
I don't really intend implementing spin at this stage. I might add it in the future, but it's probably not something I would want to add at all for a pure arcade game.
Any suggestions/help greatly appreciated.