XNA Creators Club Online
Page 1 of 1 (3 items)
Sort Posts: Previous Next

Bees everywhere! Or, 2D collisions

Last post 04-07-2008 9:12 PM by cbmeeks. 2 replies.
  • 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 In reply to

    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 In reply to

    Re: Bees everywhere! Or, 2D collisions

    Thanks!!!!
Page 1 of 1 (3 items) Previous Next
var gDomain='m.webtrends.com'; var gDcsId='dcschd84w10000w4lw9hcqmsz_8n3x'; var gTrackEvents=1; var gFpc='WT_FPC'; /*<\/scr"+"ipt>");} /*]]>*/
DCSIMG