Tag Info

New answers tagged


This does the job perfectly, you just need to sort through a few syntax errors. :http://go.colorize.net/xna/2d_collision_response_xna/ NOTE: The code snippet on the site List<CorrectionVector2> corrections = new List<CorrectionVector2>(); foreach (ECollidableSprite sprite in collidingSprites) { ...


A couple of things I have found that have helped players in the past with collision : Prevent the game object from moving before it collides. By checking for a collision, and preventing movement, you won't have to worry about a game object lapping into another. When your collision check is flagged (game object will hit another game object) you then handle ...

Top 50 recent answers are included