View Single Post
  #1  
Old 03-23-2010, 02:53 PM
webdev webdev is offline
Senior Member
 
Join Date: Jun 2009
Posts: 7,868
Default Collision Detection

Hello, I wrote a 2D game with some simple Collision Detection. I used the function IntersectRect() but I think it's slow. This is the code right now: int Collision(CHARACTER* object1, CHARACTER* object2) { D3DXVECTOR3 pos1 = object1->GetPosition(); D3DXVECTOR3 pos2 =...
__________________
Website Development
Domain Name Forum
Reply With Quote