Ball to Ball Collision - Detection and Handling

前端 未结 14 1403
逝去的感伤
逝去的感伤 2020-11-22 05:29

With the help of the Stack Overflow community I\'ve written a pretty basic-but fun physics simulator.

\"alt

相关标签:
14条回答
  • 2020-11-22 06:03

    I found an excellent page with information on collision detection and response in 2D.

    http://www.metanetsoftware.com/technique.html

    They try to explain how it's done from an academic point of view. They start with the simple object-to-object collision detection, and move on to collision response and how to scale it up.

    Edit: Updated link

    0 讨论(0)
  • 2020-11-22 06:04

    You should use space partitioning to solve this problem.

    Read up on Binary Space Partitioning and Quadtrees

    0 讨论(0)
提交回复
热议问题