Bees everywhere! Or, 2D collisions

Last post 04-07-2008, 9:12 PM by cbmeeks. 2 replies.
Sort Posts: Previous Next
  •  04-07-2008, 2:49 PM

    Bees everywhere! Or, 2D collisions

    I have an idea for a project that will consist of MANY 2D sprites flying around a room with many walls and obstacles in the way. Each sprite (bees, for example) will have 2-3 boundingboxes each. The walls and obstacles could have many boundingboxes. When a bee collides with a wall, I need to register a collision. The problem is that there could literally be thousands or hundreds of thousands of checks during each sweep.

    Anyone know of an efficient method of handling this?

    Thanks for any suggestions.
    cbmeeks
  •  04-07-2008, 3:04 PM

    Re: Bees everywhere! Or, 2D collisions

    You're looking for broadphase collision detection - use that term to search and you're sure to find many hits.
  •  04-07-2008, 9:12 PM

    Re: Bees everywhere! Or, 2D collisions

    Thanks!!!!
View as RSS news feed in XML
©2007 Microsoft Corporation. All rights reserved. Privacy Statement Terms of Use Code of Conduct Feedback