Hi Guys,
I've been working on my game for a couple of weeks now and am a bit stuck trying to figure out how to get circles to behave properly as sensors..
I turned debug draw on and took a screenshot to illustrate exactly what the problem is: http://www.dukesbox.com/debugCollision.png
Note that the bottom red go-kart hasnt actually 'properly' collided with the black circle, however it has collided with the box over the circle so it appears in the b2Body.m_contactList.other list, which is what my game is processing at the moment when testing for such collisions. Should I be processing a different list or am I doing something else wrong somewhere maybe?
Many thanks in advance
I've been working on my game for a couple of weeks now and am a bit stuck trying to figure out how to get circles to behave properly as sensors..
I turned debug draw on and took a screenshot to illustrate exactly what the problem is: http://www.dukesbox.com/debugCollision.png
Note that the bottom red go-kart hasnt actually 'properly' collided with the black circle, however it has collided with the box over the circle so it appears in the b2Body.m_contactList.other list, which is what my game is processing at the moment when testing for such collisions. Should I be processing a different list or am I doing something else wrong somewhere maybe?
Many thanks in advance