开发者

Are there any ball tracking algorithms/patterns around in game programming

开发者 https://www.devze.com 2022-12-22 11:00 出处:网络
I have set of players, and a ball, the players can kick the ball around the ground (not yet a football game, neither a Foosball game too ). Are there any algorithms/ patt开发者_StackOverflow中文版erns

I have set of players, and a ball, the players can kick the ball around the ground (not yet a football game, neither a Foosball game too ). Are there any algorithms/ patt开发者_StackOverflow中文版erns for addressing the problems with tracking the ball and taking decisions, Is that too much to ask.What I was looking at is something like a collision detection algorithm for the common problem of 2 objects interacting with one another.


You can use phys2d if you are using Java

Or box2D for C++

0

精彩评论

暂无评论...
验证码 换一张
取 消