Jump to content

  • Log In with Google      Sign In   
  • Create Account

FREE SOFTWARE GIVEAWAY

We have 4 x Pro Licences (valued at $59 each) for 2d modular animation software Spriter to give away in this Thursday's GDNet Direct email newsletter.


Read more in this forum topic or make sure you're signed up (from the right-hand sidebar on the homepage) and read Thursday's newsletter to get in the running!


coffeecup

Member Since 20 Aug 2011
Offline Last Active Private

#5014668 get colliding face of 2 AABB's?

Posted by coffeecup on 27 December 2012 - 05:12 AM

thanks, indeed that helped, i got a little confused reading so much stuff about SAT.

 

now i calculate the distance between the 2 boxes using the min and max values for each axis and take the largest distance which gives me the correct normal.

 

the plural of axis is axes.




PARTNERS