Jump to content
  • Advertisement


This topic is now archived and is closed to further replies.


thinking of making a tennis game

This topic is 5166 days old which is more than the 365 day threshold we allow for new replies. Please post a new topic.

If you intended to correct an error in the post then please contact us.

Recommended Posts

hi, im thinking of making a 3d openGL tennis game, just two players with rackets, a ball and a court i can do the ball physics.. but im just wondering if anyone has any ideas about how to effectively interact the character animations (probably keyframed, loaded from 3ds format or whatever) with the ball? thinking in terms mainly of collision detection between racket and ball i guess, thanks for any input, Hybrid

Share this post

Link to post
Share on other sites
I''m not sure how to solve the problem with a perfect solid and nice function.
But you could always encapsulate the area around the tennis racket with some form of bounding box or sphere and check collisions with that against the ball.
But then again, I have no idea.

Personally I think it''s pretty hard to do a good working tennis game since the ball can end up in so many diffrent positions, and presuming how the player should react on all the diffrent positions the ball can have.
But maybe that''s just me complicating thins alot.
Good luck!

- Patrik Willbo

The Lord says He can get me out of this mess, but He''s pretty sure you''re fucked.
- Stephen (Braveheart)

Share this post

Link to post
Share on other sites

  • Advertisement

Important Information

By using GameDev.net, you agree to our community Guidelines, Terms of Use, and Privacy Policy.

We are the game development community.

Whether you are an indie, hobbyist, AAA developer, or just trying to learn, GameDev.net is the place for you to learn, share, and connect with the games industry. Learn more About Us or sign up!

Sign me up!