Jump to content

  • Log In with Google      Sign In   
  • Create Account


#ActualGavin Williams

Posted 13 December 2012 - 09:54 PM

Sultan,

I'm wondering if that is even a problem for your code. You have both bounding shape collision and pixel collision. Although the bounding shape collision in both those images shows true, the pixel collision shows false. So these images don't necessarily show an invalid state. The bounding shape collision detection should just be a rough grade detection phase that won't always result in a collision once the finer collision detect (pixel-wise) process is complete.

I'm not 100% up on your code, so I'm just having a stab after first reading. What do you reckon ?

#1Gavin Williams

Posted 13 December 2012 - 09:52 PM

Sultan,

I'm wondering if that is even a problem for your code. You have both bounding shape collision and pixel collision. Although the bounding shape collision in both those images shows true, the pixel collision shows false. So these images don't necessarily show an invalid state. The bounding shape collision detection should just be a rough grade detection phase that won't always result in a collision once the finer collision detect (pixel-wise) process is complete.

I'm not 100% up on your code, so I'm just having a first stab after first reading. What do you reckon ?

PARTNERS